diff --git a/src/main/java/com/databricks/jdbc/dbclient/impl/thrift/TCLIService.thrift b/src/main/java/com/databricks/jdbc/dbclient/impl/thrift/TCLIService.thrift index 77cbca23f4..b624496442 100644 --- a/src/main/java/com/databricks/jdbc/dbclient/impl/thrift/TCLIService.thrift +++ b/src/main/java/com/databricks/jdbc/dbclient/impl/thrift/TCLIService.thrift @@ -269,16 +269,6 @@ struct TSparkArrowResultLink { 5: required i64 bytesNum 6: optional map httpHeaders } -struct TDBSqlCloudResultFile { - 1: optional string filePath - 2: optional i64 startRowOffset - 3: optional i64 rowCount - 4: optional i64 uncompressedBytes - 5: optional i64 compressedBytes - 6: optional string fileLink - 7: optional i64 linkExpiryTime - 8: optional map httpHeaders -} struct TRowSet { 1: required i64 startRowOffset 2: required list rows @@ -288,59 +278,6 @@ struct TRowSet { 0x501: optional list arrowBatches; 0x502: optional list resultLinks; } -struct TDBSqlTempView { - 1: optional string name - 2: optional string sqlStatement - 3: optional map properties - 4: optional string viewSchema -} -struct TDBSqlSessionCapabilities { - 1: optional bool supportsMultipleCatalogs -} -struct TExpressionInfo { - 1: optional string className - 2: optional string usage - 3: optional string name - 4: optional string extended - 5: optional string db - 6: optional string arguments - 7: optional string examples - 8: optional string note - 9: optional string group - 10: optional string since - 11: optional string deprecated - 12: optional string source -} -struct TDBSqlConfValue { - 1: optional string value -} -struct TSQLVariable { - 1: optional TIdentifier catalogName - 2: optional TIdentifier schemaName - 3: optional TIdentifier variableName - 4: optional string defaultExpressionSQL - 5: optional string variableDataType - 6: optional string currentValue -} -struct TDBSqlSessionConf { - 1: optional map confs - 2: optional list tempViews - 3: optional string currentDatabase - 4: optional string currentCatalog - 5: optional TDBSqlSessionCapabilities sessionCapabilities - 6: optional list expressionsInfos - 7: optional map internalConfs - 8: optional list tempVariables -} -enum TOperationIdempotencyType { - UNKNOWN, - NON_IDEMPOTENT, - IDEMPOTENT -} -enum TOperationTimeoutLevel { - CLUSTER, - SESSION -} enum TStatusCode { SUCCESS_STATUS, SUCCESS_WITH_INFO_STATUS, @@ -507,11 +444,6 @@ struct TSparkArrowTypes { 4: optional bool intervalTypesAsArrow 5: optional bool nullTypeAsArrow } -enum TResultPersistenceMode { - ONLY_LARGE_RESULTS, - ALL_QUERY_RESULTS, - ALL_RESULTS -} struct TExecuteStatementReq { 1: required TSessionHandle sessionHandle 2: required string statement @@ -529,9 +461,6 @@ struct TExecuteStatementReq { 0x509: optional i64 maxBytesPerBatch 0x510: optional TStatementConf statementConf } -struct TDBSqlStatement { - 1: optional string statement -} union TSparkParameterValue { 1: string stringValue 2: double doubleValue @@ -700,11 +629,6 @@ struct TCancelOperationReq { struct TCancelOperationResp { 1: required TStatus status } -enum TDBSqlCloseOperationReason { - NONE, - COMMAND_INACTIVITY_TIMEOUT, - CLOSE_SESSION -} struct TCloseOperationReq { 1: required TOperationHandle operationHandle } @@ -731,20 +655,6 @@ enum TCacheLookupResult { REMOTE_CACHE_HIT, CACHE_MISS } -enum TCloudFetchDisabledReason { - ARROW_SUPPORT, - CLOUD_FETCH_SUPPORT, - PROTOCOL_VERSION, - REGION_SUPPORT, - BLOCKLISTED_OPERATION, - SMALL_RESULT_SIZE, - CUSTOMER_STORAGE_SUPPORT, - UNKNOWN, - METADATA_OPERATION -} -enum TDBSqlManifestFileFormat { - THRIFT_GET_RESULT_SET_METADATA_RESP -} enum TFetchOrientation { FETCH_NEXT, FETCH_PRIOR, @@ -753,12 +663,6 @@ enum TFetchOrientation { FETCH_FIRST, FETCH_LAST } -enum TDBSqlFetchDisposition { - DISPOSITION_UNSPECIFIED, - DISPOSITION_INLINE, - DISPOSITION_EXTERNAL_LINKS, - DISPOSITION_INTERNAL_DBFS -} struct TFetchResultsReq { 1: required TOperationHandle operationHandle 2: required TFetchOrientation orientation = TFetchOrientation.FETCH_NEXT diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TArrayTypeEntry.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TArrayTypeEntry.java index 52e3b8e439..9aa8a32af4 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TArrayTypeEntry.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TArrayTypeEntry.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TArrayTypeEntry implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TBinaryColumn.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TBinaryColumn.java index bc8e3789b2..3b0b0b6096 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TBinaryColumn.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TBinaryColumn.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TBinaryColumn implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TBoolColumn.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TBoolColumn.java index e1dc919fa9..48be9bbd87 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TBoolColumn.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TBoolColumn.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TBoolColumn implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TBoolValue.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TBoolValue.java index 58d0132d8e..70972c4070 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TBoolValue.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TBoolValue.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TBoolValue implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TByteColumn.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TByteColumn.java index 913add926d..bd57a61da0 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TByteColumn.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TByteColumn.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TByteColumn implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TByteValue.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TByteValue.java index 2d33237c94..4ec52c3e65 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TByteValue.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TByteValue.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TByteValue implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCLIService.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCLIService.java index 04d39c02c2..f135c0c79b 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCLIService.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCLIService.java @@ -9,7 +9,7 @@ @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) public class TCLIService { diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCacheLookupResult.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCacheLookupResult.java index acc505901d..40b26c189f 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCacheLookupResult.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCacheLookupResult.java @@ -9,7 +9,7 @@ @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public enum TCacheLookupResult implements org.apache.thrift.TEnum { CACHE_INELIGIBLE(0), LOCAL_CACHE_HIT(1), diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCancelDelegationTokenReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCancelDelegationTokenReq.java index 2cb86e6e58..11bb5d5f2f 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCancelDelegationTokenReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCancelDelegationTokenReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TCancelDelegationTokenReq implements org.apache.thrift.TBase< TCancelDelegationTokenReq, TCancelDelegationTokenReq._Fields>, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCancelDelegationTokenResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCancelDelegationTokenResp.java index c9ef3720c0..d60fc52753 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCancelDelegationTokenResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCancelDelegationTokenResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TCancelDelegationTokenResp implements org.apache.thrift.TBase< TCancelDelegationTokenResp, TCancelDelegationTokenResp._Fields>, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCancelOperationReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCancelOperationReq.java index 82909897bd..1baa7ea901 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCancelOperationReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCancelOperationReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TCancelOperationReq implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCancelOperationResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCancelOperationResp.java index f053f15310..a614498bdc 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCancelOperationResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCancelOperationResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TCancelOperationResp implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCloseOperationReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCloseOperationReq.java index b656c7294f..4b3ff7ef33 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCloseOperationReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCloseOperationReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TCloseOperationReq implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCloseOperationResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCloseOperationResp.java index 60143131a8..2da49ce34f 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCloseOperationResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCloseOperationResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TCloseOperationResp implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCloseSessionReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCloseSessionReq.java index 18bc7a195c..8fcd8036bc 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCloseSessionReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCloseSessionReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TCloseSessionReq implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCloseSessionResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCloseSessionResp.java index de31ad96e2..7fde753ab5 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCloseSessionResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCloseSessionResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TCloseSessionResp implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCloudFetchDisabledReason.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCloudFetchDisabledReason.java deleted file mode 100644 index 5833cba804..0000000000 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TCloudFetchDisabledReason.java +++ /dev/null @@ -1,66 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.19.0) - * - *

DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * - * @generated - */ -package com.databricks.jdbc.model.client.thrift.generated; - -@javax.annotation.Generated( - value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") -public enum TCloudFetchDisabledReason implements org.apache.thrift.TEnum { - ARROW_SUPPORT(0), - CLOUD_FETCH_SUPPORT(1), - PROTOCOL_VERSION(2), - REGION_SUPPORT(3), - BLOCKLISTED_OPERATION(4), - SMALL_RESULT_SIZE(5), - CUSTOMER_STORAGE_SUPPORT(6), - UNKNOWN(7), - METADATA_OPERATION(8); - - private final int value; - - private TCloudFetchDisabledReason(int value) { - this.value = value; - } - - /** Get the integer value of this enum value, as defined in the Thrift IDL. */ - @Override - public int getValue() { - return value; - } - - /** - * Find a the enum type by its integer value, as defined in the Thrift IDL. - * - * @return null if the value is not found. - */ - @org.apache.thrift.annotation.Nullable - public static TCloudFetchDisabledReason findByValue(int value) { - switch (value) { - case 0: - return ARROW_SUPPORT; - case 1: - return CLOUD_FETCH_SUPPORT; - case 2: - return PROTOCOL_VERSION; - case 3: - return REGION_SUPPORT; - case 4: - return BLOCKLISTED_OPERATION; - case 5: - return SMALL_RESULT_SIZE; - case 6: - return CUSTOMER_STORAGE_SUPPORT; - case 7: - return UNKNOWN; - case 8: - return METADATA_OPERATION; - default: - return null; - } - } -} diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TColumn.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TColumn.java index 0e530feac0..8406ffeaf8 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TColumn.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TColumn.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TColumn extends org.apache.thrift.TUnion { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumn"); diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TColumnDesc.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TColumnDesc.java index f75e7a9168..f8d280e699 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TColumnDesc.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TColumnDesc.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TColumnDesc implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TColumnValue.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TColumnValue.java index 372e196741..a0e5946c40 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TColumnValue.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TColumnValue.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TColumnValue extends org.apache.thrift.TUnion { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TColumnValue"); diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlArrowFormat.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlArrowFormat.java index 9a549faf9c..d94ea7828b 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlArrowFormat.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlArrowFormat.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TDBSqlArrowFormat implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlArrowLayout.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlArrowLayout.java index 14e77fc278..878f9d6ad0 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlArrowLayout.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlArrowLayout.java @@ -9,7 +9,7 @@ @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public enum TDBSqlArrowLayout implements org.apache.thrift.TEnum { ARROW_BATCH(0), ARROW_STREAMING(1); diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlCloseOperationReason.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlCloseOperationReason.java deleted file mode 100644 index 094e57e74e..0000000000 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlCloseOperationReason.java +++ /dev/null @@ -1,48 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.19.0) - * - *

DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * - * @generated - */ -package com.databricks.jdbc.model.client.thrift.generated; - -@javax.annotation.Generated( - value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") -public enum TDBSqlCloseOperationReason implements org.apache.thrift.TEnum { - NONE(0), - COMMAND_INACTIVITY_TIMEOUT(1), - CLOSE_SESSION(2); - - private final int value; - - private TDBSqlCloseOperationReason(int value) { - this.value = value; - } - - /** Get the integer value of this enum value, as defined in the Thrift IDL. */ - @Override - public int getValue() { - return value; - } - - /** - * Find a the enum type by its integer value, as defined in the Thrift IDL. - * - * @return null if the value is not found. - */ - @org.apache.thrift.annotation.Nullable - public static TDBSqlCloseOperationReason findByValue(int value) { - switch (value) { - case 0: - return NONE; - case 1: - return COMMAND_INACTIVITY_TIMEOUT; - case 2: - return CLOSE_SESSION; - default: - return null; - } - } -} diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlCloudResultFile.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlCloudResultFile.java deleted file mode 100644 index b34c369538..0000000000 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlCloudResultFile.java +++ /dev/null @@ -1,1257 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.19.0) - * - *

DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * - * @generated - */ -package com.databricks.jdbc.model.client.thrift.generated; - -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated( - value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") -public class TDBSqlCloudResultFile - 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("TDBSqlCloudResultFile"); - - private static final org.apache.thrift.protocol.TField FILE_PATH_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "filePath", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField START_ROW_OFFSET_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "startRowOffset", org.apache.thrift.protocol.TType.I64, (short) 2); - private static final org.apache.thrift.protocol.TField ROW_COUNT_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "rowCount", org.apache.thrift.protocol.TType.I64, (short) 3); - private static final org.apache.thrift.protocol.TField UNCOMPRESSED_BYTES_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "uncompressedBytes", org.apache.thrift.protocol.TType.I64, (short) 4); - private static final org.apache.thrift.protocol.TField COMPRESSED_BYTES_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "compressedBytes", org.apache.thrift.protocol.TType.I64, (short) 5); - private static final org.apache.thrift.protocol.TField FILE_LINK_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "fileLink", org.apache.thrift.protocol.TType.STRING, (short) 6); - private static final org.apache.thrift.protocol.TField LINK_EXPIRY_TIME_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "linkExpiryTime", org.apache.thrift.protocol.TType.I64, (short) 7); - private static final org.apache.thrift.protocol.TField HTTP_HEADERS_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "httpHeaders", org.apache.thrift.protocol.TType.MAP, (short) 8); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = - new TDBSqlCloudResultFileStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = - new TDBSqlCloudResultFileTupleSchemeFactory(); - - public @org.apache.thrift.annotation.Nullable java.lang.String filePath; // optional - public long startRowOffset; // optional - public long rowCount; // optional - public long uncompressedBytes; // optional - public long compressedBytes; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String fileLink; // optional - public long linkExpiryTime; // optional - public @org.apache.thrift.annotation.Nullable java.util.Map - httpHeaders; // optional - - /** - * The set of fields this struct contains, along with convenience methods for finding and - * manipulating them. - */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { - FILE_PATH((short) 1, "filePath"), - START_ROW_OFFSET((short) 2, "startRowOffset"), - ROW_COUNT((short) 3, "rowCount"), - UNCOMPRESSED_BYTES((short) 4, "uncompressedBytes"), - COMPRESSED_BYTES((short) 5, "compressedBytes"), - FILE_LINK((short) 6, "fileLink"), - LINK_EXPIRY_TIME((short) 7, "linkExpiryTime"), - HTTP_HEADERS((short) 8, "httpHeaders"); - - private static final java.util.Map byName = - new java.util.HashMap(); - - static { - for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } - } - - /** Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable - public static _Fields findByThriftId(int fieldId) { - switch (fieldId) { - case 1: // FILE_PATH - return FILE_PATH; - case 2: // START_ROW_OFFSET - return START_ROW_OFFSET; - case 3: // ROW_COUNT - return ROW_COUNT; - case 4: // UNCOMPRESSED_BYTES - return UNCOMPRESSED_BYTES; - case 5: // COMPRESSED_BYTES - return COMPRESSED_BYTES; - case 6: // FILE_LINK - return FILE_LINK; - case 7: // LINK_EXPIRY_TIME - return LINK_EXPIRY_TIME; - case 8: // HTTP_HEADERS - return HTTP_HEADERS; - 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 java.lang.IllegalArgumentException("Field " + fieldId + " doesn't exist!"); - return fields; - } - - /** Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable - public static _Fields findByName(java.lang.String name) { - return byName.get(name); - } - - private final short _thriftId; - private final java.lang.String _fieldName; - - _Fields(short thriftId, java.lang.String fieldName) { - _thriftId = thriftId; - _fieldName = fieldName; - } - - @Override - public short getThriftFieldId() { - return _thriftId; - } - - @Override - public java.lang.String getFieldName() { - return _fieldName; - } - } - - // isset id assignments - private static final int __STARTROWOFFSET_ISSET_ID = 0; - private static final int __ROWCOUNT_ISSET_ID = 1; - private static final int __UNCOMPRESSEDBYTES_ISSET_ID = 2; - private static final int __COMPRESSEDBYTES_ISSET_ID = 3; - private static final int __LINKEXPIRYTIME_ISSET_ID = 4; - private byte __isset_bitfield = 0; - private static final _Fields optionals[] = { - _Fields.FILE_PATH, - _Fields.START_ROW_OFFSET, - _Fields.ROW_COUNT, - _Fields.UNCOMPRESSED_BYTES, - _Fields.COMPRESSED_BYTES, - _Fields.FILE_LINK, - _Fields.LINK_EXPIRY_TIME, - _Fields.HTTP_HEADERS - }; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; - - static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = - new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put( - _Fields.FILE_PATH, - new org.apache.thrift.meta_data.FieldMetaData( - "filePath", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put( - _Fields.START_ROW_OFFSET, - new org.apache.thrift.meta_data.FieldMetaData( - "startRowOffset", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put( - _Fields.ROW_COUNT, - new org.apache.thrift.meta_data.FieldMetaData( - "rowCount", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put( - _Fields.UNCOMPRESSED_BYTES, - new org.apache.thrift.meta_data.FieldMetaData( - "uncompressedBytes", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put( - _Fields.COMPRESSED_BYTES, - new org.apache.thrift.meta_data.FieldMetaData( - "compressedBytes", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put( - _Fields.FILE_LINK, - new org.apache.thrift.meta_data.FieldMetaData( - "fileLink", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put( - _Fields.LINK_EXPIRY_TIME, - new org.apache.thrift.meta_data.FieldMetaData( - "linkExpiryTime", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.I64))); - tmpMap.put( - _Fields.HTTP_HEADERS, - new org.apache.thrift.meta_data.FieldMetaData( - "httpHeaders", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - 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.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); - metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - TDBSqlCloudResultFile.class, metaDataMap); - } - - public TDBSqlCloudResultFile() {} - - /** Performs a deep copy on other. */ - public TDBSqlCloudResultFile(TDBSqlCloudResultFile other) { - __isset_bitfield = other.__isset_bitfield; - if (other.isSetFilePath()) { - this.filePath = other.filePath; - } - this.startRowOffset = other.startRowOffset; - this.rowCount = other.rowCount; - this.uncompressedBytes = other.uncompressedBytes; - this.compressedBytes = other.compressedBytes; - if (other.isSetFileLink()) { - this.fileLink = other.fileLink; - } - this.linkExpiryTime = other.linkExpiryTime; - if (other.isSetHttpHeaders()) { - java.util.Map __this__httpHeaders = - new java.util.HashMap(other.httpHeaders); - this.httpHeaders = __this__httpHeaders; - } - } - - @Override - public TDBSqlCloudResultFile deepCopy() { - return new TDBSqlCloudResultFile(this); - } - - @Override - public void clear() { - this.filePath = null; - setStartRowOffsetIsSet(false); - this.startRowOffset = 0; - setRowCountIsSet(false); - this.rowCount = 0; - setUncompressedBytesIsSet(false); - this.uncompressedBytes = 0; - setCompressedBytesIsSet(false); - this.compressedBytes = 0; - this.fileLink = null; - setLinkExpiryTimeIsSet(false); - this.linkExpiryTime = 0; - this.httpHeaders = null; - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getFilePath() { - return this.filePath; - } - - public TDBSqlCloudResultFile setFilePath( - @org.apache.thrift.annotation.Nullable java.lang.String filePath) { - this.filePath = filePath; - return this; - } - - public void unsetFilePath() { - this.filePath = null; - } - - /** Returns true if field filePath is set (has been assigned a value) and false otherwise */ - public boolean isSetFilePath() { - return this.filePath != null; - } - - public void setFilePathIsSet(boolean value) { - if (!value) { - this.filePath = null; - } - } - - public long getStartRowOffset() { - return this.startRowOffset; - } - - public TDBSqlCloudResultFile setStartRowOffset(long startRowOffset) { - this.startRowOffset = startRowOffset; - setStartRowOffsetIsSet(true); - return this; - } - - public void unsetStartRowOffset() { - __isset_bitfield = - org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __STARTROWOFFSET_ISSET_ID); - } - - /** Returns true if field startRowOffset is set (has been assigned a value) and false otherwise */ - public boolean isSetStartRowOffset() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __STARTROWOFFSET_ISSET_ID); - } - - public void setStartRowOffsetIsSet(boolean value) { - __isset_bitfield = - org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __STARTROWOFFSET_ISSET_ID, value); - } - - public long getRowCount() { - return this.rowCount; - } - - public TDBSqlCloudResultFile setRowCount(long rowCount) { - this.rowCount = rowCount; - setRowCountIsSet(true); - return this; - } - - public void unsetRowCount() { - __isset_bitfield = - org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __ROWCOUNT_ISSET_ID); - } - - /** Returns true if field rowCount is set (has been assigned a value) and false otherwise */ - public boolean isSetRowCount() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __ROWCOUNT_ISSET_ID); - } - - public void setRowCountIsSet(boolean value) { - __isset_bitfield = - org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __ROWCOUNT_ISSET_ID, value); - } - - public long getUncompressedBytes() { - return this.uncompressedBytes; - } - - public TDBSqlCloudResultFile setUncompressedBytes(long uncompressedBytes) { - this.uncompressedBytes = uncompressedBytes; - setUncompressedBytesIsSet(true); - return this; - } - - public void unsetUncompressedBytes() { - __isset_bitfield = - org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __UNCOMPRESSEDBYTES_ISSET_ID); - } - - /** - * Returns true if field uncompressedBytes is set (has been assigned a value) and false otherwise - */ - public boolean isSetUncompressedBytes() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __UNCOMPRESSEDBYTES_ISSET_ID); - } - - public void setUncompressedBytesIsSet(boolean value) { - __isset_bitfield = - org.apache.thrift.EncodingUtils.setBit( - __isset_bitfield, __UNCOMPRESSEDBYTES_ISSET_ID, value); - } - - public long getCompressedBytes() { - return this.compressedBytes; - } - - public TDBSqlCloudResultFile setCompressedBytes(long compressedBytes) { - this.compressedBytes = compressedBytes; - setCompressedBytesIsSet(true); - return this; - } - - public void unsetCompressedBytes() { - __isset_bitfield = - org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __COMPRESSEDBYTES_ISSET_ID); - } - - /** - * Returns true if field compressedBytes is set (has been assigned a value) and false otherwise - */ - public boolean isSetCompressedBytes() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __COMPRESSEDBYTES_ISSET_ID); - } - - public void setCompressedBytesIsSet(boolean value) { - __isset_bitfield = - org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __COMPRESSEDBYTES_ISSET_ID, value); - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getFileLink() { - return this.fileLink; - } - - public TDBSqlCloudResultFile setFileLink( - @org.apache.thrift.annotation.Nullable java.lang.String fileLink) { - this.fileLink = fileLink; - return this; - } - - public void unsetFileLink() { - this.fileLink = null; - } - - /** Returns true if field fileLink is set (has been assigned a value) and false otherwise */ - public boolean isSetFileLink() { - return this.fileLink != null; - } - - public void setFileLinkIsSet(boolean value) { - if (!value) { - this.fileLink = null; - } - } - - public long getLinkExpiryTime() { - return this.linkExpiryTime; - } - - public TDBSqlCloudResultFile setLinkExpiryTime(long linkExpiryTime) { - this.linkExpiryTime = linkExpiryTime; - setLinkExpiryTimeIsSet(true); - return this; - } - - public void unsetLinkExpiryTime() { - __isset_bitfield = - org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __LINKEXPIRYTIME_ISSET_ID); - } - - /** Returns true if field linkExpiryTime is set (has been assigned a value) and false otherwise */ - public boolean isSetLinkExpiryTime() { - return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __LINKEXPIRYTIME_ISSET_ID); - } - - public void setLinkExpiryTimeIsSet(boolean value) { - __isset_bitfield = - org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __LINKEXPIRYTIME_ISSET_ID, value); - } - - public int getHttpHeadersSize() { - return (this.httpHeaders == null) ? 0 : this.httpHeaders.size(); - } - - public void putToHttpHeaders(java.lang.String key, java.lang.String val) { - if (this.httpHeaders == null) { - this.httpHeaders = new java.util.HashMap(); - } - this.httpHeaders.put(key, val); - } - - @org.apache.thrift.annotation.Nullable - public java.util.Map getHttpHeaders() { - return this.httpHeaders; - } - - public TDBSqlCloudResultFile setHttpHeaders( - @org.apache.thrift.annotation.Nullable - java.util.Map httpHeaders) { - this.httpHeaders = httpHeaders; - return this; - } - - public void unsetHttpHeaders() { - this.httpHeaders = null; - } - - /** Returns true if field httpHeaders is set (has been assigned a value) and false otherwise */ - public boolean isSetHttpHeaders() { - return this.httpHeaders != null; - } - - public void setHttpHeadersIsSet(boolean value) { - if (!value) { - this.httpHeaders = null; - } - } - - @Override - public void setFieldValue( - _Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { - switch (field) { - case FILE_PATH: - if (value == null) { - unsetFilePath(); - } else { - setFilePath((java.lang.String) value); - } - break; - - case START_ROW_OFFSET: - if (value == null) { - unsetStartRowOffset(); - } else { - setStartRowOffset((java.lang.Long) value); - } - break; - - case ROW_COUNT: - if (value == null) { - unsetRowCount(); - } else { - setRowCount((java.lang.Long) value); - } - break; - - case UNCOMPRESSED_BYTES: - if (value == null) { - unsetUncompressedBytes(); - } else { - setUncompressedBytes((java.lang.Long) value); - } - break; - - case COMPRESSED_BYTES: - if (value == null) { - unsetCompressedBytes(); - } else { - setCompressedBytes((java.lang.Long) value); - } - break; - - case FILE_LINK: - if (value == null) { - unsetFileLink(); - } else { - setFileLink((java.lang.String) value); - } - break; - - case LINK_EXPIRY_TIME: - if (value == null) { - unsetLinkExpiryTime(); - } else { - setLinkExpiryTime((java.lang.Long) value); - } - break; - - case HTTP_HEADERS: - if (value == null) { - unsetHttpHeaders(); - } else { - setHttpHeaders((java.util.Map) value); - } - break; - } - } - - @org.apache.thrift.annotation.Nullable - @Override - public java.lang.Object getFieldValue(_Fields field) { - switch (field) { - case FILE_PATH: - return getFilePath(); - - case START_ROW_OFFSET: - return getStartRowOffset(); - - case ROW_COUNT: - return getRowCount(); - - case UNCOMPRESSED_BYTES: - return getUncompressedBytes(); - - case COMPRESSED_BYTES: - return getCompressedBytes(); - - case FILE_LINK: - return getFileLink(); - - case LINK_EXPIRY_TIME: - return getLinkExpiryTime(); - - case HTTP_HEADERS: - return getHttpHeaders(); - } - throw new java.lang.IllegalStateException(); - } - - /** - * Returns true if field corresponding to fieldID is set (has been assigned a value) and false - * otherwise - */ - @Override - public boolean isSet(_Fields field) { - if (field == null) { - throw new java.lang.IllegalArgumentException(); - } - - switch (field) { - case FILE_PATH: - return isSetFilePath(); - case START_ROW_OFFSET: - return isSetStartRowOffset(); - case ROW_COUNT: - return isSetRowCount(); - case UNCOMPRESSED_BYTES: - return isSetUncompressedBytes(); - case COMPRESSED_BYTES: - return isSetCompressedBytes(); - case FILE_LINK: - return isSetFileLink(); - case LINK_EXPIRY_TIME: - return isSetLinkExpiryTime(); - case HTTP_HEADERS: - return isSetHttpHeaders(); - } - throw new java.lang.IllegalStateException(); - } - - @Override - public boolean equals(java.lang.Object that) { - if (that instanceof TDBSqlCloudResultFile) return this.equals((TDBSqlCloudResultFile) that); - return false; - } - - public boolean equals(TDBSqlCloudResultFile that) { - if (that == null) return false; - if (this == that) return true; - - boolean this_present_filePath = true && this.isSetFilePath(); - boolean that_present_filePath = true && that.isSetFilePath(); - if (this_present_filePath || that_present_filePath) { - if (!(this_present_filePath && that_present_filePath)) return false; - if (!this.filePath.equals(that.filePath)) return false; - } - - boolean this_present_startRowOffset = true && this.isSetStartRowOffset(); - boolean that_present_startRowOffset = true && that.isSetStartRowOffset(); - if (this_present_startRowOffset || that_present_startRowOffset) { - if (!(this_present_startRowOffset && that_present_startRowOffset)) return false; - if (this.startRowOffset != that.startRowOffset) return false; - } - - boolean this_present_rowCount = true && this.isSetRowCount(); - boolean that_present_rowCount = true && that.isSetRowCount(); - if (this_present_rowCount || that_present_rowCount) { - if (!(this_present_rowCount && that_present_rowCount)) return false; - if (this.rowCount != that.rowCount) return false; - } - - boolean this_present_uncompressedBytes = true && this.isSetUncompressedBytes(); - boolean that_present_uncompressedBytes = true && that.isSetUncompressedBytes(); - if (this_present_uncompressedBytes || that_present_uncompressedBytes) { - if (!(this_present_uncompressedBytes && that_present_uncompressedBytes)) return false; - if (this.uncompressedBytes != that.uncompressedBytes) return false; - } - - boolean this_present_compressedBytes = true && this.isSetCompressedBytes(); - boolean that_present_compressedBytes = true && that.isSetCompressedBytes(); - if (this_present_compressedBytes || that_present_compressedBytes) { - if (!(this_present_compressedBytes && that_present_compressedBytes)) return false; - if (this.compressedBytes != that.compressedBytes) return false; - } - - boolean this_present_fileLink = true && this.isSetFileLink(); - boolean that_present_fileLink = true && that.isSetFileLink(); - if (this_present_fileLink || that_present_fileLink) { - if (!(this_present_fileLink && that_present_fileLink)) return false; - if (!this.fileLink.equals(that.fileLink)) return false; - } - - boolean this_present_linkExpiryTime = true && this.isSetLinkExpiryTime(); - boolean that_present_linkExpiryTime = true && that.isSetLinkExpiryTime(); - if (this_present_linkExpiryTime || that_present_linkExpiryTime) { - if (!(this_present_linkExpiryTime && that_present_linkExpiryTime)) return false; - if (this.linkExpiryTime != that.linkExpiryTime) return false; - } - - boolean this_present_httpHeaders = true && this.isSetHttpHeaders(); - boolean that_present_httpHeaders = true && that.isSetHttpHeaders(); - if (this_present_httpHeaders || that_present_httpHeaders) { - if (!(this_present_httpHeaders && that_present_httpHeaders)) return false; - if (!this.httpHeaders.equals(that.httpHeaders)) return false; - } - - return true; - } - - @Override - public int hashCode() { - int hashCode = 1; - - hashCode = hashCode * 8191 + ((isSetFilePath()) ? 131071 : 524287); - if (isSetFilePath()) hashCode = hashCode * 8191 + filePath.hashCode(); - - hashCode = hashCode * 8191 + ((isSetStartRowOffset()) ? 131071 : 524287); - if (isSetStartRowOffset()) - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(startRowOffset); - - hashCode = hashCode * 8191 + ((isSetRowCount()) ? 131071 : 524287); - if (isSetRowCount()) - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(rowCount); - - hashCode = hashCode * 8191 + ((isSetUncompressedBytes()) ? 131071 : 524287); - if (isSetUncompressedBytes()) - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(uncompressedBytes); - - hashCode = hashCode * 8191 + ((isSetCompressedBytes()) ? 131071 : 524287); - if (isSetCompressedBytes()) - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(compressedBytes); - - hashCode = hashCode * 8191 + ((isSetFileLink()) ? 131071 : 524287); - if (isSetFileLink()) hashCode = hashCode * 8191 + fileLink.hashCode(); - - hashCode = hashCode * 8191 + ((isSetLinkExpiryTime()) ? 131071 : 524287); - if (isSetLinkExpiryTime()) - hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(linkExpiryTime); - - hashCode = hashCode * 8191 + ((isSetHttpHeaders()) ? 131071 : 524287); - if (isSetHttpHeaders()) hashCode = hashCode * 8191 + httpHeaders.hashCode(); - - return hashCode; - } - - @Override - public int compareTo(TDBSqlCloudResultFile other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); - } - - int lastComparison = 0; - - lastComparison = java.lang.Boolean.compare(isSetFilePath(), other.isSetFilePath()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetFilePath()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filePath, other.filePath); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetStartRowOffset(), other.isSetStartRowOffset()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetStartRowOffset()) { - lastComparison = - org.apache.thrift.TBaseHelper.compareTo(this.startRowOffset, other.startRowOffset); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetRowCount(), other.isSetRowCount()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetRowCount()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rowCount, other.rowCount); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = - java.lang.Boolean.compare(isSetUncompressedBytes(), other.isSetUncompressedBytes()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetUncompressedBytes()) { - lastComparison = - org.apache.thrift.TBaseHelper.compareTo(this.uncompressedBytes, other.uncompressedBytes); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = - java.lang.Boolean.compare(isSetCompressedBytes(), other.isSetCompressedBytes()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetCompressedBytes()) { - lastComparison = - org.apache.thrift.TBaseHelper.compareTo(this.compressedBytes, other.compressedBytes); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetFileLink(), other.isSetFileLink()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetFileLink()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fileLink, other.fileLink); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetLinkExpiryTime(), other.isSetLinkExpiryTime()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetLinkExpiryTime()) { - lastComparison = - org.apache.thrift.TBaseHelper.compareTo(this.linkExpiryTime, other.linkExpiryTime); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetHttpHeaders(), other.isSetHttpHeaders()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetHttpHeaders()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.httpHeaders, other.httpHeaders); - if (lastComparison != 0) { - return lastComparison; - } - } - return 0; - } - - @org.apache.thrift.annotation.Nullable - @Override - public _Fields fieldForId(int fieldId) { - return _Fields.findByThriftId(fieldId); - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { - scheme(iprot).read(iprot, this); - } - - @Override - public void write(org.apache.thrift.protocol.TProtocol oprot) - throws org.apache.thrift.TException { - scheme(oprot).write(oprot, this); - } - - @Override - public java.lang.String toString() { - java.lang.StringBuilder sb = new java.lang.StringBuilder("TDBSqlCloudResultFile("); - boolean first = true; - - if (isSetFilePath()) { - sb.append("filePath:"); - if (this.filePath == null) { - sb.append("null"); - } else { - sb.append(this.filePath); - } - first = false; - } - if (isSetStartRowOffset()) { - if (!first) sb.append(", "); - sb.append("startRowOffset:"); - sb.append(this.startRowOffset); - first = false; - } - if (isSetRowCount()) { - if (!first) sb.append(", "); - sb.append("rowCount:"); - sb.append(this.rowCount); - first = false; - } - if (isSetUncompressedBytes()) { - if (!first) sb.append(", "); - sb.append("uncompressedBytes:"); - sb.append(this.uncompressedBytes); - first = false; - } - if (isSetCompressedBytes()) { - if (!first) sb.append(", "); - sb.append("compressedBytes:"); - sb.append(this.compressedBytes); - first = false; - } - if (isSetFileLink()) { - if (!first) sb.append(", "); - sb.append("fileLink:"); - if (this.fileLink == null) { - sb.append("null"); - } else { - sb.append(this.fileLink); - } - first = false; - } - if (isSetLinkExpiryTime()) { - if (!first) sb.append(", "); - sb.append("linkExpiryTime:"); - sb.append(this.linkExpiryTime); - first = false; - } - if (isSetHttpHeaders()) { - if (!first) sb.append(", "); - sb.append("httpHeaders:"); - if (this.httpHeaders == null) { - sb.append("null"); - } else { - sb.append(this.httpHeaders); - } - 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, java.lang.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 TDBSqlCloudResultFileStandardSchemeFactory - implements org.apache.thrift.scheme.SchemeFactory { - @Override - public TDBSqlCloudResultFileStandardScheme getScheme() { - return new TDBSqlCloudResultFileStandardScheme(); - } - } - - private static class TDBSqlCloudResultFileStandardScheme - extends org.apache.thrift.scheme.StandardScheme { - - @Override - public void read(org.apache.thrift.protocol.TProtocol iprot, TDBSqlCloudResultFile 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: // FILE_PATH - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.filePath = iprot.readString(); - struct.setFilePathIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // START_ROW_OFFSET - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.startRowOffset = iprot.readI64(); - struct.setStartRowOffsetIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // ROW_COUNT - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.rowCount = iprot.readI64(); - struct.setRowCountIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // UNCOMPRESSED_BYTES - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.uncompressedBytes = iprot.readI64(); - struct.setUncompressedBytesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // COMPRESSED_BYTES - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.compressedBytes = iprot.readI64(); - struct.setCompressedBytesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // FILE_LINK - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.fileLink = iprot.readString(); - struct.setFileLinkIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 7: // LINK_EXPIRY_TIME - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.linkExpiryTime = iprot.readI64(); - struct.setLinkExpiryTimeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 8: // HTTP_HEADERS - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map128 = iprot.readMapBegin(); - struct.httpHeaders = - new java.util.HashMap(2 * _map128.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key129; - @org.apache.thrift.annotation.Nullable java.lang.String _val130; - for (int _i131 = 0; _i131 < _map128.size; ++_i131) { - _key129 = iprot.readString(); - _val130 = iprot.readString(); - struct.httpHeaders.put(_key129, _val130); - } - iprot.readMapEnd(); - } - struct.setHttpHeadersIsSet(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(); - } - - @Override - public void write(org.apache.thrift.protocol.TProtocol oprot, TDBSqlCloudResultFile struct) - throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (struct.filePath != null) { - if (struct.isSetFilePath()) { - oprot.writeFieldBegin(FILE_PATH_FIELD_DESC); - oprot.writeString(struct.filePath); - oprot.writeFieldEnd(); - } - } - if (struct.isSetStartRowOffset()) { - oprot.writeFieldBegin(START_ROW_OFFSET_FIELD_DESC); - oprot.writeI64(struct.startRowOffset); - oprot.writeFieldEnd(); - } - if (struct.isSetRowCount()) { - oprot.writeFieldBegin(ROW_COUNT_FIELD_DESC); - oprot.writeI64(struct.rowCount); - oprot.writeFieldEnd(); - } - if (struct.isSetUncompressedBytes()) { - oprot.writeFieldBegin(UNCOMPRESSED_BYTES_FIELD_DESC); - oprot.writeI64(struct.uncompressedBytes); - oprot.writeFieldEnd(); - } - if (struct.isSetCompressedBytes()) { - oprot.writeFieldBegin(COMPRESSED_BYTES_FIELD_DESC); - oprot.writeI64(struct.compressedBytes); - oprot.writeFieldEnd(); - } - if (struct.fileLink != null) { - if (struct.isSetFileLink()) { - oprot.writeFieldBegin(FILE_LINK_FIELD_DESC); - oprot.writeString(struct.fileLink); - oprot.writeFieldEnd(); - } - } - if (struct.isSetLinkExpiryTime()) { - oprot.writeFieldBegin(LINK_EXPIRY_TIME_FIELD_DESC); - oprot.writeI64(struct.linkExpiryTime); - oprot.writeFieldEnd(); - } - if (struct.httpHeaders != null) { - if (struct.isSetHttpHeaders()) { - oprot.writeFieldBegin(HTTP_HEADERS_FIELD_DESC); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.STRING, - struct.httpHeaders.size())); - for (java.util.Map.Entry _iter132 : - struct.httpHeaders.entrySet()) { - oprot.writeString(_iter132.getKey()); - oprot.writeString(_iter132.getValue()); - } - oprot.writeMapEnd(); - } - oprot.writeFieldEnd(); - } - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - } - - private static class TDBSqlCloudResultFileTupleSchemeFactory - implements org.apache.thrift.scheme.SchemeFactory { - @Override - public TDBSqlCloudResultFileTupleScheme getScheme() { - return new TDBSqlCloudResultFileTupleScheme(); - } - } - - private static class TDBSqlCloudResultFileTupleScheme - extends org.apache.thrift.scheme.TupleScheme { - - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TDBSqlCloudResultFile struct) - throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = - (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet optionals = new java.util.BitSet(); - if (struct.isSetFilePath()) { - optionals.set(0); - } - if (struct.isSetStartRowOffset()) { - optionals.set(1); - } - if (struct.isSetRowCount()) { - optionals.set(2); - } - if (struct.isSetUncompressedBytes()) { - optionals.set(3); - } - if (struct.isSetCompressedBytes()) { - optionals.set(4); - } - if (struct.isSetFileLink()) { - optionals.set(5); - } - if (struct.isSetLinkExpiryTime()) { - optionals.set(6); - } - if (struct.isSetHttpHeaders()) { - optionals.set(7); - } - oprot.writeBitSet(optionals, 8); - if (struct.isSetFilePath()) { - oprot.writeString(struct.filePath); - } - if (struct.isSetStartRowOffset()) { - oprot.writeI64(struct.startRowOffset); - } - if (struct.isSetRowCount()) { - oprot.writeI64(struct.rowCount); - } - if (struct.isSetUncompressedBytes()) { - oprot.writeI64(struct.uncompressedBytes); - } - if (struct.isSetCompressedBytes()) { - oprot.writeI64(struct.compressedBytes); - } - if (struct.isSetFileLink()) { - oprot.writeString(struct.fileLink); - } - if (struct.isSetLinkExpiryTime()) { - oprot.writeI64(struct.linkExpiryTime); - } - if (struct.isSetHttpHeaders()) { - { - oprot.writeI32(struct.httpHeaders.size()); - for (java.util.Map.Entry _iter133 : - struct.httpHeaders.entrySet()) { - oprot.writeString(_iter133.getKey()); - oprot.writeString(_iter133.getValue()); - } - } - } - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TDBSqlCloudResultFile struct) - throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = - (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(8); - if (incoming.get(0)) { - struct.filePath = iprot.readString(); - struct.setFilePathIsSet(true); - } - if (incoming.get(1)) { - struct.startRowOffset = iprot.readI64(); - struct.setStartRowOffsetIsSet(true); - } - if (incoming.get(2)) { - struct.rowCount = iprot.readI64(); - struct.setRowCountIsSet(true); - } - if (incoming.get(3)) { - struct.uncompressedBytes = iprot.readI64(); - struct.setUncompressedBytesIsSet(true); - } - if (incoming.get(4)) { - struct.compressedBytes = iprot.readI64(); - struct.setCompressedBytesIsSet(true); - } - if (incoming.get(5)) { - struct.fileLink = iprot.readString(); - struct.setFileLinkIsSet(true); - } - if (incoming.get(6)) { - struct.linkExpiryTime = iprot.readI64(); - struct.setLinkExpiryTimeIsSet(true); - } - if (incoming.get(7)) { - { - org.apache.thrift.protocol.TMap _map134 = - iprot.readMapBegin( - org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.httpHeaders = - new java.util.HashMap(2 * _map134.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key135; - @org.apache.thrift.annotation.Nullable java.lang.String _val136; - for (int _i137 = 0; _i137 < _map134.size; ++_i137) { - _key135 = iprot.readString(); - _val136 = iprot.readString(); - struct.httpHeaders.put(_key135, _val136); - } - } - struct.setHttpHeadersIsSet(true); - } - } - } - - private static S scheme( - org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) - ? STANDARD_SCHEME_FACTORY - : TUPLE_SCHEME_FACTORY) - .getScheme(); - } -} diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlCompressionCodec.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlCompressionCodec.java index 048e23b098..28ce6d5d5f 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlCompressionCodec.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlCompressionCodec.java @@ -9,7 +9,7 @@ @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public enum TDBSqlCompressionCodec implements org.apache.thrift.TEnum { NONE(0), LZ4_FRAME(1), diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlConfValue.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlConfValue.java deleted file mode 100644 index f969fb0515..0000000000 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlConfValue.java +++ /dev/null @@ -1,414 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.19.0) - * - *

DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * - * @generated - */ -package com.databricks.jdbc.model.client.thrift.generated; - -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated( - value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") -public class TDBSqlConfValue - 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("TDBSqlConfValue"); - - private static final org.apache.thrift.protocol.TField VALUE_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "value", org.apache.thrift.protocol.TType.STRING, (short) 1); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = - new TDBSqlConfValueStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = - new TDBSqlConfValueTupleSchemeFactory(); - - public @org.apache.thrift.annotation.Nullable java.lang.String value; // optional - - /** - * The set of fields this struct contains, along with convenience methods for finding and - * manipulating them. - */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { - VALUE((short) 1, "value"); - - private static final java.util.Map byName = - new java.util.HashMap(); - - static { - for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } - } - - /** Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable - public static _Fields findByThriftId(int fieldId) { - switch (fieldId) { - case 1: // VALUE - return VALUE; - 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 java.lang.IllegalArgumentException("Field " + fieldId + " doesn't exist!"); - return fields; - } - - /** Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable - public static _Fields findByName(java.lang.String name) { - return byName.get(name); - } - - private final short _thriftId; - private final java.lang.String _fieldName; - - _Fields(short thriftId, java.lang.String fieldName) { - _thriftId = thriftId; - _fieldName = fieldName; - } - - @Override - public short getThriftFieldId() { - return _thriftId; - } - - @Override - public java.lang.String getFieldName() { - return _fieldName; - } - } - - // isset id assignments - private static final _Fields optionals[] = {_Fields.VALUE}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; - - static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = - new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put( - _Fields.VALUE, - new org.apache.thrift.meta_data.FieldMetaData( - "value", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - TDBSqlConfValue.class, metaDataMap); - } - - public TDBSqlConfValue() {} - - /** Performs a deep copy on other. */ - public TDBSqlConfValue(TDBSqlConfValue other) { - if (other.isSetValue()) { - this.value = other.value; - } - } - - @Override - public TDBSqlConfValue deepCopy() { - return new TDBSqlConfValue(this); - } - - @Override - public void clear() { - this.value = null; - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getValue() { - return this.value; - } - - public TDBSqlConfValue setValue(@org.apache.thrift.annotation.Nullable java.lang.String 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; - } - } - - @Override - public void setFieldValue( - _Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { - switch (field) { - case VALUE: - if (value == null) { - unsetValue(); - } else { - setValue((java.lang.String) value); - } - break; - } - } - - @org.apache.thrift.annotation.Nullable - @Override - public java.lang.Object getFieldValue(_Fields field) { - switch (field) { - case VALUE: - return getValue(); - } - throw new java.lang.IllegalStateException(); - } - - /** - * Returns true if field corresponding to fieldID is set (has been assigned a value) and false - * otherwise - */ - @Override - public boolean isSet(_Fields field) { - if (field == null) { - throw new java.lang.IllegalArgumentException(); - } - - switch (field) { - case VALUE: - return isSetValue(); - } - throw new java.lang.IllegalStateException(); - } - - @Override - public boolean equals(java.lang.Object that) { - if (that instanceof TDBSqlConfValue) return this.equals((TDBSqlConfValue) that); - return false; - } - - public boolean equals(TDBSqlConfValue that) { - if (that == null) return false; - if (this == that) return true; - - 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; - } - - return true; - } - - @Override - public int hashCode() { - int hashCode = 1; - - hashCode = hashCode * 8191 + ((isSetValue()) ? 131071 : 524287); - if (isSetValue()) hashCode = hashCode * 8191 + value.hashCode(); - - return hashCode; - } - - @Override - public int compareTo(TDBSqlConfValue other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); - } - - int lastComparison = 0; - - lastComparison = java.lang.Boolean.compare(isSetValue(), other.isSetValue()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetValue()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.value, other.value); - if (lastComparison != 0) { - return lastComparison; - } - } - return 0; - } - - @org.apache.thrift.annotation.Nullable - @Override - public _Fields fieldForId(int fieldId) { - return _Fields.findByThriftId(fieldId); - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { - scheme(iprot).read(iprot, this); - } - - @Override - public void write(org.apache.thrift.protocol.TProtocol oprot) - throws org.apache.thrift.TException { - scheme(oprot).write(oprot, this); - } - - @Override - public java.lang.String toString() { - java.lang.StringBuilder sb = new java.lang.StringBuilder("TDBSqlConfValue("); - boolean first = true; - - if (isSetValue()) { - sb.append("value:"); - if (this.value == null) { - sb.append("null"); - } else { - sb.append(this.value); - } - 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, java.lang.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 TDBSqlConfValueStandardSchemeFactory - implements org.apache.thrift.scheme.SchemeFactory { - @Override - public TDBSqlConfValueStandardScheme getScheme() { - return new TDBSqlConfValueStandardScheme(); - } - } - - private static class TDBSqlConfValueStandardScheme - extends org.apache.thrift.scheme.StandardScheme { - - @Override - public void read(org.apache.thrift.protocol.TProtocol iprot, TDBSqlConfValue 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: // VALUE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.value = iprot.readString(); - struct.setValueIsSet(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(); - } - - @Override - public void write(org.apache.thrift.protocol.TProtocol oprot, TDBSqlConfValue struct) - throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (struct.value != null) { - if (struct.isSetValue()) { - oprot.writeFieldBegin(VALUE_FIELD_DESC); - oprot.writeString(struct.value); - oprot.writeFieldEnd(); - } - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - } - - private static class TDBSqlConfValueTupleSchemeFactory - implements org.apache.thrift.scheme.SchemeFactory { - @Override - public TDBSqlConfValueTupleScheme getScheme() { - return new TDBSqlConfValueTupleScheme(); - } - } - - private static class TDBSqlConfValueTupleScheme - extends org.apache.thrift.scheme.TupleScheme { - - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TDBSqlConfValue struct) - throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = - (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet optionals = new java.util.BitSet(); - if (struct.isSetValue()) { - optionals.set(0); - } - oprot.writeBitSet(optionals, 1); - if (struct.isSetValue()) { - oprot.writeString(struct.value); - } - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TDBSqlConfValue struct) - throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = - (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.value = iprot.readString(); - struct.setValueIsSet(true); - } - } - } - - private static S scheme( - org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) - ? STANDARD_SCHEME_FACTORY - : TUPLE_SCHEME_FACTORY) - .getScheme(); - } -} diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlCsvFormat.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlCsvFormat.java index a74f4968cb..981634abb7 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlCsvFormat.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlCsvFormat.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TDBSqlCsvFormat implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlFetchDisposition.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlFetchDisposition.java deleted file mode 100644 index b23ec3866a..0000000000 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlFetchDisposition.java +++ /dev/null @@ -1,51 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.19.0) - * - *

DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * - * @generated - */ -package com.databricks.jdbc.model.client.thrift.generated; - -@javax.annotation.Generated( - value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") -public enum TDBSqlFetchDisposition implements org.apache.thrift.TEnum { - DISPOSITION_UNSPECIFIED(0), - DISPOSITION_INLINE(1), - DISPOSITION_EXTERNAL_LINKS(2), - DISPOSITION_INTERNAL_DBFS(3); - - private final int value; - - private TDBSqlFetchDisposition(int value) { - this.value = value; - } - - /** Get the integer value of this enum value, as defined in the Thrift IDL. */ - @Override - public int getValue() { - return value; - } - - /** - * Find a the enum type by its integer value, as defined in the Thrift IDL. - * - * @return null if the value is not found. - */ - @org.apache.thrift.annotation.Nullable - public static TDBSqlFetchDisposition findByValue(int value) { - switch (value) { - case 0: - return DISPOSITION_UNSPECIFIED; - case 1: - return DISPOSITION_INLINE; - case 2: - return DISPOSITION_EXTERNAL_LINKS; - case 3: - return DISPOSITION_INTERNAL_DBFS; - default: - return null; - } - } -} diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlJsonArrayFormat.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlJsonArrayFormat.java index aedaf8e6c8..ac085102ec 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlJsonArrayFormat.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlJsonArrayFormat.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TDBSqlJsonArrayFormat implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlManifestFileFormat.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlManifestFileFormat.java deleted file mode 100644 index 0349d7bb2b..0000000000 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlManifestFileFormat.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.19.0) - * - *

DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * - * @generated - */ -package com.databricks.jdbc.model.client.thrift.generated; - -@javax.annotation.Generated( - value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") -public enum TDBSqlManifestFileFormat implements org.apache.thrift.TEnum { - THRIFT_GET_RESULT_SET_METADATA_RESP(0); - - private final int value; - - private TDBSqlManifestFileFormat(int value) { - this.value = value; - } - - /** Get the integer value of this enum value, as defined in the Thrift IDL. */ - @Override - public int getValue() { - return value; - } - - /** - * Find a the enum type by its integer value, as defined in the Thrift IDL. - * - * @return null if the value is not found. - */ - @org.apache.thrift.annotation.Nullable - public static TDBSqlManifestFileFormat findByValue(int value) { - switch (value) { - case 0: - return THRIFT_GET_RESULT_SET_METADATA_RESP; - default: - return null; - } - } -} diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlResultFormat.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlResultFormat.java index ce2d598c0a..79789383a2 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlResultFormat.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlResultFormat.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TDBSqlResultFormat extends org.apache.thrift.TUnion { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlSessionCapabilities.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlSessionCapabilities.java deleted file mode 100644 index 71a02d18c9..0000000000 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlSessionCapabilities.java +++ /dev/null @@ -1,427 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.19.0) - * - *

DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * - * @generated - */ -package com.databricks.jdbc.model.client.thrift.generated; - -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated( - value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") -public class TDBSqlSessionCapabilities - implements org.apache.thrift.TBase< - TDBSqlSessionCapabilities, TDBSqlSessionCapabilities._Fields>, - java.io.Serializable, - Cloneable, - Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = - new org.apache.thrift.protocol.TStruct("TDBSqlSessionCapabilities"); - - private static final org.apache.thrift.protocol.TField SUPPORTS_MULTIPLE_CATALOGS_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "supportsMultipleCatalogs", org.apache.thrift.protocol.TType.BOOL, (short) 1); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = - new TDBSqlSessionCapabilitiesStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = - new TDBSqlSessionCapabilitiesTupleSchemeFactory(); - - public boolean supportsMultipleCatalogs; // optional - - /** - * The set of fields this struct contains, along with convenience methods for finding and - * manipulating them. - */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { - SUPPORTS_MULTIPLE_CATALOGS((short) 1, "supportsMultipleCatalogs"); - - private static final java.util.Map byName = - new java.util.HashMap(); - - static { - for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } - } - - /** Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable - public static _Fields findByThriftId(int fieldId) { - switch (fieldId) { - case 1: // SUPPORTS_MULTIPLE_CATALOGS - return SUPPORTS_MULTIPLE_CATALOGS; - 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 java.lang.IllegalArgumentException("Field " + fieldId + " doesn't exist!"); - return fields; - } - - /** Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable - public static _Fields findByName(java.lang.String name) { - return byName.get(name); - } - - private final short _thriftId; - private final java.lang.String _fieldName; - - _Fields(short thriftId, java.lang.String fieldName) { - _thriftId = thriftId; - _fieldName = fieldName; - } - - @Override - public short getThriftFieldId() { - return _thriftId; - } - - @Override - public java.lang.String getFieldName() { - return _fieldName; - } - } - - // isset id assignments - private static final int __SUPPORTSMULTIPLECATALOGS_ISSET_ID = 0; - private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.SUPPORTS_MULTIPLE_CATALOGS}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; - - static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = - new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put( - _Fields.SUPPORTS_MULTIPLE_CATALOGS, - new org.apache.thrift.meta_data.FieldMetaData( - "supportsMultipleCatalogs", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.BOOL))); - metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - TDBSqlSessionCapabilities.class, metaDataMap); - } - - public TDBSqlSessionCapabilities() {} - - /** Performs a deep copy on other. */ - public TDBSqlSessionCapabilities(TDBSqlSessionCapabilities other) { - __isset_bitfield = other.__isset_bitfield; - this.supportsMultipleCatalogs = other.supportsMultipleCatalogs; - } - - @Override - public TDBSqlSessionCapabilities deepCopy() { - return new TDBSqlSessionCapabilities(this); - } - - @Override - public void clear() { - setSupportsMultipleCatalogsIsSet(false); - this.supportsMultipleCatalogs = false; - } - - public boolean isSupportsMultipleCatalogs() { - return this.supportsMultipleCatalogs; - } - - public TDBSqlSessionCapabilities setSupportsMultipleCatalogs(boolean supportsMultipleCatalogs) { - this.supportsMultipleCatalogs = supportsMultipleCatalogs; - setSupportsMultipleCatalogsIsSet(true); - return this; - } - - public void unsetSupportsMultipleCatalogs() { - __isset_bitfield = - org.apache.thrift.EncodingUtils.clearBit( - __isset_bitfield, __SUPPORTSMULTIPLECATALOGS_ISSET_ID); - } - - /** - * Returns true if field supportsMultipleCatalogs is set (has been assigned a value) and false - * otherwise - */ - public boolean isSetSupportsMultipleCatalogs() { - return org.apache.thrift.EncodingUtils.testBit( - __isset_bitfield, __SUPPORTSMULTIPLECATALOGS_ISSET_ID); - } - - public void setSupportsMultipleCatalogsIsSet(boolean value) { - __isset_bitfield = - org.apache.thrift.EncodingUtils.setBit( - __isset_bitfield, __SUPPORTSMULTIPLECATALOGS_ISSET_ID, value); - } - - @Override - public void setFieldValue( - _Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { - switch (field) { - case SUPPORTS_MULTIPLE_CATALOGS: - if (value == null) { - unsetSupportsMultipleCatalogs(); - } else { - setSupportsMultipleCatalogs((java.lang.Boolean) value); - } - break; - } - } - - @org.apache.thrift.annotation.Nullable - @Override - public java.lang.Object getFieldValue(_Fields field) { - switch (field) { - case SUPPORTS_MULTIPLE_CATALOGS: - return isSupportsMultipleCatalogs(); - } - throw new java.lang.IllegalStateException(); - } - - /** - * Returns true if field corresponding to fieldID is set (has been assigned a value) and false - * otherwise - */ - @Override - public boolean isSet(_Fields field) { - if (field == null) { - throw new java.lang.IllegalArgumentException(); - } - - switch (field) { - case SUPPORTS_MULTIPLE_CATALOGS: - return isSetSupportsMultipleCatalogs(); - } - throw new java.lang.IllegalStateException(); - } - - @Override - public boolean equals(java.lang.Object that) { - if (that instanceof TDBSqlSessionCapabilities) - return this.equals((TDBSqlSessionCapabilities) that); - return false; - } - - public boolean equals(TDBSqlSessionCapabilities that) { - if (that == null) return false; - if (this == that) return true; - - boolean this_present_supportsMultipleCatalogs = true && this.isSetSupportsMultipleCatalogs(); - boolean that_present_supportsMultipleCatalogs = true && that.isSetSupportsMultipleCatalogs(); - if (this_present_supportsMultipleCatalogs || that_present_supportsMultipleCatalogs) { - if (!(this_present_supportsMultipleCatalogs && that_present_supportsMultipleCatalogs)) - return false; - if (this.supportsMultipleCatalogs != that.supportsMultipleCatalogs) return false; - } - - return true; - } - - @Override - public int hashCode() { - int hashCode = 1; - - hashCode = hashCode * 8191 + ((isSetSupportsMultipleCatalogs()) ? 131071 : 524287); - if (isSetSupportsMultipleCatalogs()) - hashCode = hashCode * 8191 + ((supportsMultipleCatalogs) ? 131071 : 524287); - - return hashCode; - } - - @Override - public int compareTo(TDBSqlSessionCapabilities other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); - } - - int lastComparison = 0; - - lastComparison = - java.lang.Boolean.compare( - isSetSupportsMultipleCatalogs(), other.isSetSupportsMultipleCatalogs()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetSupportsMultipleCatalogs()) { - lastComparison = - org.apache.thrift.TBaseHelper.compareTo( - this.supportsMultipleCatalogs, other.supportsMultipleCatalogs); - if (lastComparison != 0) { - return lastComparison; - } - } - return 0; - } - - @org.apache.thrift.annotation.Nullable - @Override - public _Fields fieldForId(int fieldId) { - return _Fields.findByThriftId(fieldId); - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { - scheme(iprot).read(iprot, this); - } - - @Override - public void write(org.apache.thrift.protocol.TProtocol oprot) - throws org.apache.thrift.TException { - scheme(oprot).write(oprot, this); - } - - @Override - public java.lang.String toString() { - java.lang.StringBuilder sb = new java.lang.StringBuilder("TDBSqlSessionCapabilities("); - boolean first = true; - - if (isSetSupportsMultipleCatalogs()) { - sb.append("supportsMultipleCatalogs:"); - sb.append(this.supportsMultipleCatalogs); - 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, java.lang.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 TDBSqlSessionCapabilitiesStandardSchemeFactory - implements org.apache.thrift.scheme.SchemeFactory { - @Override - public TDBSqlSessionCapabilitiesStandardScheme getScheme() { - return new TDBSqlSessionCapabilitiesStandardScheme(); - } - } - - private static class TDBSqlSessionCapabilitiesStandardScheme - extends org.apache.thrift.scheme.StandardScheme { - - @Override - public void read(org.apache.thrift.protocol.TProtocol iprot, TDBSqlSessionCapabilities 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: // SUPPORTS_MULTIPLE_CATALOGS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.supportsMultipleCatalogs = iprot.readBool(); - struct.setSupportsMultipleCatalogsIsSet(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(); - } - - @Override - public void write(org.apache.thrift.protocol.TProtocol oprot, TDBSqlSessionCapabilities struct) - throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (struct.isSetSupportsMultipleCatalogs()) { - oprot.writeFieldBegin(SUPPORTS_MULTIPLE_CATALOGS_FIELD_DESC); - oprot.writeBool(struct.supportsMultipleCatalogs); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - } - - private static class TDBSqlSessionCapabilitiesTupleSchemeFactory - implements org.apache.thrift.scheme.SchemeFactory { - @Override - public TDBSqlSessionCapabilitiesTupleScheme getScheme() { - return new TDBSqlSessionCapabilitiesTupleScheme(); - } - } - - private static class TDBSqlSessionCapabilitiesTupleScheme - extends org.apache.thrift.scheme.TupleScheme { - - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TDBSqlSessionCapabilities struct) - throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = - (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet optionals = new java.util.BitSet(); - if (struct.isSetSupportsMultipleCatalogs()) { - optionals.set(0); - } - oprot.writeBitSet(optionals, 1); - if (struct.isSetSupportsMultipleCatalogs()) { - oprot.writeBool(struct.supportsMultipleCatalogs); - } - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TDBSqlSessionCapabilities struct) - throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = - (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.supportsMultipleCatalogs = iprot.readBool(); - struct.setSupportsMultipleCatalogsIsSet(true); - } - } - } - - private static S scheme( - org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) - ? STANDARD_SCHEME_FACTORY - : TUPLE_SCHEME_FACTORY) - .getScheme(); - } -} diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlSessionConf.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlSessionConf.java deleted file mode 100644 index 78595a1ce0..0000000000 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlSessionConf.java +++ /dev/null @@ -1,1542 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.19.0) - * - *

DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * - * @generated - */ -package com.databricks.jdbc.model.client.thrift.generated; - -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated( - value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") -public class TDBSqlSessionConf - 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("TDBSqlSessionConf"); - - private static final org.apache.thrift.protocol.TField CONFS_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "confs", org.apache.thrift.protocol.TType.MAP, (short) 1); - private static final org.apache.thrift.protocol.TField TEMP_VIEWS_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "tempViews", org.apache.thrift.protocol.TType.LIST, (short) 2); - private static final org.apache.thrift.protocol.TField CURRENT_DATABASE_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "currentDatabase", org.apache.thrift.protocol.TType.STRING, (short) 3); - private static final org.apache.thrift.protocol.TField CURRENT_CATALOG_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "currentCatalog", org.apache.thrift.protocol.TType.STRING, (short) 4); - private static final org.apache.thrift.protocol.TField SESSION_CAPABILITIES_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "sessionCapabilities", org.apache.thrift.protocol.TType.STRUCT, (short) 5); - private static final org.apache.thrift.protocol.TField EXPRESSIONS_INFOS_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "expressionsInfos", org.apache.thrift.protocol.TType.LIST, (short) 6); - private static final org.apache.thrift.protocol.TField INTERNAL_CONFS_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "internalConfs", org.apache.thrift.protocol.TType.MAP, (short) 7); - private static final org.apache.thrift.protocol.TField TEMP_VARIABLES_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "tempVariables", org.apache.thrift.protocol.TType.LIST, (short) 8); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = - new TDBSqlSessionConfStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = - new TDBSqlSessionConfTupleSchemeFactory(); - - public @org.apache.thrift.annotation.Nullable java.util.Map - confs; // optional - public @org.apache.thrift.annotation.Nullable java.util.List - tempViews; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String currentDatabase; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String currentCatalog; // optional - public @org.apache.thrift.annotation.Nullable TDBSqlSessionCapabilities - sessionCapabilities; // optional - public @org.apache.thrift.annotation.Nullable java.util.List - expressionsInfos; // optional - public @org.apache.thrift.annotation.Nullable java.util.Map - internalConfs; // optional - public @org.apache.thrift.annotation.Nullable java.util.List - tempVariables; // optional - - /** - * The set of fields this struct contains, along with convenience methods for finding and - * manipulating them. - */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CONFS((short) 1, "confs"), - TEMP_VIEWS((short) 2, "tempViews"), - CURRENT_DATABASE((short) 3, "currentDatabase"), - CURRENT_CATALOG((short) 4, "currentCatalog"), - SESSION_CAPABILITIES((short) 5, "sessionCapabilities"), - EXPRESSIONS_INFOS((short) 6, "expressionsInfos"), - INTERNAL_CONFS((short) 7, "internalConfs"), - TEMP_VARIABLES((short) 8, "tempVariables"); - - private static final java.util.Map byName = - new java.util.HashMap(); - - static { - for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } - } - - /** Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable - public static _Fields findByThriftId(int fieldId) { - switch (fieldId) { - case 1: // CONFS - return CONFS; - case 2: // TEMP_VIEWS - return TEMP_VIEWS; - case 3: // CURRENT_DATABASE - return CURRENT_DATABASE; - case 4: // CURRENT_CATALOG - return CURRENT_CATALOG; - case 5: // SESSION_CAPABILITIES - return SESSION_CAPABILITIES; - case 6: // EXPRESSIONS_INFOS - return EXPRESSIONS_INFOS; - case 7: // INTERNAL_CONFS - return INTERNAL_CONFS; - case 8: // TEMP_VARIABLES - return TEMP_VARIABLES; - 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 java.lang.IllegalArgumentException("Field " + fieldId + " doesn't exist!"); - return fields; - } - - /** Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable - public static _Fields findByName(java.lang.String name) { - return byName.get(name); - } - - private final short _thriftId; - private final java.lang.String _fieldName; - - _Fields(short thriftId, java.lang.String fieldName) { - _thriftId = thriftId; - _fieldName = fieldName; - } - - @Override - public short getThriftFieldId() { - return _thriftId; - } - - @Override - public java.lang.String getFieldName() { - return _fieldName; - } - } - - // isset id assignments - private static final _Fields optionals[] = { - _Fields.CONFS, - _Fields.TEMP_VIEWS, - _Fields.CURRENT_DATABASE, - _Fields.CURRENT_CATALOG, - _Fields.SESSION_CAPABILITIES, - _Fields.EXPRESSIONS_INFOS, - _Fields.INTERNAL_CONFS, - _Fields.TEMP_VARIABLES - }; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; - - static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = - new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put( - _Fields.CONFS, - new org.apache.thrift.meta_data.FieldMetaData( - "confs", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - 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.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put( - _Fields.TEMP_VIEWS, - new org.apache.thrift.meta_data.FieldMetaData( - "tempViews", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - 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, TDBSqlTempView.class)))); - tmpMap.put( - _Fields.CURRENT_DATABASE, - new org.apache.thrift.meta_data.FieldMetaData( - "currentDatabase", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put( - _Fields.CURRENT_CATALOG, - new org.apache.thrift.meta_data.FieldMetaData( - "currentCatalog", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put( - _Fields.SESSION_CAPABILITIES, - new org.apache.thrift.meta_data.FieldMetaData( - "sessionCapabilities", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.StructMetaData( - org.apache.thrift.protocol.TType.STRUCT, TDBSqlSessionCapabilities.class))); - tmpMap.put( - _Fields.EXPRESSIONS_INFOS, - new org.apache.thrift.meta_data.FieldMetaData( - "expressionsInfos", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - 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, TExpressionInfo.class)))); - tmpMap.put( - _Fields.INTERNAL_CONFS, - new org.apache.thrift.meta_data.FieldMetaData( - "internalConfs", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - 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, TDBSqlConfValue.class)))); - tmpMap.put( - _Fields.TEMP_VARIABLES, - new org.apache.thrift.meta_data.FieldMetaData( - "tempVariables", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - 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, TSQLVariable.class)))); - metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - TDBSqlSessionConf.class, metaDataMap); - } - - public TDBSqlSessionConf() {} - - /** Performs a deep copy on other. */ - public TDBSqlSessionConf(TDBSqlSessionConf other) { - if (other.isSetConfs()) { - java.util.Map __this__confs = - new java.util.HashMap(other.confs); - this.confs = __this__confs; - } - if (other.isSetTempViews()) { - java.util.List __this__tempViews = - new java.util.ArrayList(other.tempViews.size()); - for (TDBSqlTempView other_element : other.tempViews) { - __this__tempViews.add(new TDBSqlTempView(other_element)); - } - this.tempViews = __this__tempViews; - } - if (other.isSetCurrentDatabase()) { - this.currentDatabase = other.currentDatabase; - } - if (other.isSetCurrentCatalog()) { - this.currentCatalog = other.currentCatalog; - } - if (other.isSetSessionCapabilities()) { - this.sessionCapabilities = new TDBSqlSessionCapabilities(other.sessionCapabilities); - } - if (other.isSetExpressionsInfos()) { - java.util.List __this__expressionsInfos = - new java.util.ArrayList(other.expressionsInfos.size()); - for (TExpressionInfo other_element : other.expressionsInfos) { - __this__expressionsInfos.add(new TExpressionInfo(other_element)); - } - this.expressionsInfos = __this__expressionsInfos; - } - if (other.isSetInternalConfs()) { - java.util.Map __this__internalConfs = - new java.util.HashMap(other.internalConfs.size()); - for (java.util.Map.Entry other_element : - other.internalConfs.entrySet()) { - - java.lang.String other_element_key = other_element.getKey(); - TDBSqlConfValue other_element_value = other_element.getValue(); - - java.lang.String __this__internalConfs_copy_key = other_element_key; - - TDBSqlConfValue __this__internalConfs_copy_value = new TDBSqlConfValue(other_element_value); - - __this__internalConfs.put(__this__internalConfs_copy_key, __this__internalConfs_copy_value); - } - this.internalConfs = __this__internalConfs; - } - if (other.isSetTempVariables()) { - java.util.List __this__tempVariables = - new java.util.ArrayList(other.tempVariables.size()); - for (TSQLVariable other_element : other.tempVariables) { - __this__tempVariables.add(new TSQLVariable(other_element)); - } - this.tempVariables = __this__tempVariables; - } - } - - @Override - public TDBSqlSessionConf deepCopy() { - return new TDBSqlSessionConf(this); - } - - @Override - public void clear() { - this.confs = null; - this.tempViews = null; - this.currentDatabase = null; - this.currentCatalog = null; - this.sessionCapabilities = null; - this.expressionsInfos = null; - this.internalConfs = null; - this.tempVariables = null; - } - - public int getConfsSize() { - return (this.confs == null) ? 0 : this.confs.size(); - } - - public void putToConfs(java.lang.String key, java.lang.String val) { - if (this.confs == null) { - this.confs = new java.util.HashMap(); - } - this.confs.put(key, val); - } - - @org.apache.thrift.annotation.Nullable - public java.util.Map getConfs() { - return this.confs; - } - - public TDBSqlSessionConf setConfs( - @org.apache.thrift.annotation.Nullable - java.util.Map confs) { - this.confs = confs; - return this; - } - - public void unsetConfs() { - this.confs = null; - } - - /** Returns true if field confs is set (has been assigned a value) and false otherwise */ - public boolean isSetConfs() { - return this.confs != null; - } - - public void setConfsIsSet(boolean value) { - if (!value) { - this.confs = null; - } - } - - public int getTempViewsSize() { - return (this.tempViews == null) ? 0 : this.tempViews.size(); - } - - @org.apache.thrift.annotation.Nullable - public java.util.Iterator getTempViewsIterator() { - return (this.tempViews == null) ? null : this.tempViews.iterator(); - } - - public void addToTempViews(TDBSqlTempView elem) { - if (this.tempViews == null) { - this.tempViews = new java.util.ArrayList(); - } - this.tempViews.add(elem); - } - - @org.apache.thrift.annotation.Nullable - public java.util.List getTempViews() { - return this.tempViews; - } - - public TDBSqlSessionConf setTempViews( - @org.apache.thrift.annotation.Nullable java.util.List tempViews) { - this.tempViews = tempViews; - return this; - } - - public void unsetTempViews() { - this.tempViews = null; - } - - /** Returns true if field tempViews is set (has been assigned a value) and false otherwise */ - public boolean isSetTempViews() { - return this.tempViews != null; - } - - public void setTempViewsIsSet(boolean value) { - if (!value) { - this.tempViews = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getCurrentDatabase() { - return this.currentDatabase; - } - - public TDBSqlSessionConf setCurrentDatabase( - @org.apache.thrift.annotation.Nullable java.lang.String currentDatabase) { - this.currentDatabase = currentDatabase; - return this; - } - - public void unsetCurrentDatabase() { - this.currentDatabase = null; - } - - /** - * Returns true if field currentDatabase is set (has been assigned a value) and false otherwise - */ - public boolean isSetCurrentDatabase() { - return this.currentDatabase != null; - } - - public void setCurrentDatabaseIsSet(boolean value) { - if (!value) { - this.currentDatabase = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getCurrentCatalog() { - return this.currentCatalog; - } - - public TDBSqlSessionConf setCurrentCatalog( - @org.apache.thrift.annotation.Nullable java.lang.String currentCatalog) { - this.currentCatalog = currentCatalog; - return this; - } - - public void unsetCurrentCatalog() { - this.currentCatalog = null; - } - - /** Returns true if field currentCatalog is set (has been assigned a value) and false otherwise */ - public boolean isSetCurrentCatalog() { - return this.currentCatalog != null; - } - - public void setCurrentCatalogIsSet(boolean value) { - if (!value) { - this.currentCatalog = null; - } - } - - @org.apache.thrift.annotation.Nullable - public TDBSqlSessionCapabilities getSessionCapabilities() { - return this.sessionCapabilities; - } - - public TDBSqlSessionConf setSessionCapabilities( - @org.apache.thrift.annotation.Nullable TDBSqlSessionCapabilities sessionCapabilities) { - this.sessionCapabilities = sessionCapabilities; - return this; - } - - public void unsetSessionCapabilities() { - this.sessionCapabilities = null; - } - - /** - * Returns true if field sessionCapabilities is set (has been assigned a value) and false - * otherwise - */ - public boolean isSetSessionCapabilities() { - return this.sessionCapabilities != null; - } - - public void setSessionCapabilitiesIsSet(boolean value) { - if (!value) { - this.sessionCapabilities = null; - } - } - - public int getExpressionsInfosSize() { - return (this.expressionsInfos == null) ? 0 : this.expressionsInfos.size(); - } - - @org.apache.thrift.annotation.Nullable - public java.util.Iterator getExpressionsInfosIterator() { - return (this.expressionsInfos == null) ? null : this.expressionsInfos.iterator(); - } - - public void addToExpressionsInfos(TExpressionInfo elem) { - if (this.expressionsInfos == null) { - this.expressionsInfos = new java.util.ArrayList(); - } - this.expressionsInfos.add(elem); - } - - @org.apache.thrift.annotation.Nullable - public java.util.List getExpressionsInfos() { - return this.expressionsInfos; - } - - public TDBSqlSessionConf setExpressionsInfos( - @org.apache.thrift.annotation.Nullable java.util.List expressionsInfos) { - this.expressionsInfos = expressionsInfos; - return this; - } - - public void unsetExpressionsInfos() { - this.expressionsInfos = null; - } - - /** - * Returns true if field expressionsInfos is set (has been assigned a value) and false otherwise - */ - public boolean isSetExpressionsInfos() { - return this.expressionsInfos != null; - } - - public void setExpressionsInfosIsSet(boolean value) { - if (!value) { - this.expressionsInfos = null; - } - } - - public int getInternalConfsSize() { - return (this.internalConfs == null) ? 0 : this.internalConfs.size(); - } - - public void putToInternalConfs(java.lang.String key, TDBSqlConfValue val) { - if (this.internalConfs == null) { - this.internalConfs = new java.util.HashMap(); - } - this.internalConfs.put(key, val); - } - - @org.apache.thrift.annotation.Nullable - public java.util.Map getInternalConfs() { - return this.internalConfs; - } - - public TDBSqlSessionConf setInternalConfs( - @org.apache.thrift.annotation.Nullable - java.util.Map internalConfs) { - this.internalConfs = internalConfs; - return this; - } - - public void unsetInternalConfs() { - this.internalConfs = null; - } - - /** Returns true if field internalConfs is set (has been assigned a value) and false otherwise */ - public boolean isSetInternalConfs() { - return this.internalConfs != null; - } - - public void setInternalConfsIsSet(boolean value) { - if (!value) { - this.internalConfs = null; - } - } - - public int getTempVariablesSize() { - return (this.tempVariables == null) ? 0 : this.tempVariables.size(); - } - - @org.apache.thrift.annotation.Nullable - public java.util.Iterator getTempVariablesIterator() { - return (this.tempVariables == null) ? null : this.tempVariables.iterator(); - } - - public void addToTempVariables(TSQLVariable elem) { - if (this.tempVariables == null) { - this.tempVariables = new java.util.ArrayList(); - } - this.tempVariables.add(elem); - } - - @org.apache.thrift.annotation.Nullable - public java.util.List getTempVariables() { - return this.tempVariables; - } - - public TDBSqlSessionConf setTempVariables( - @org.apache.thrift.annotation.Nullable java.util.List tempVariables) { - this.tempVariables = tempVariables; - return this; - } - - public void unsetTempVariables() { - this.tempVariables = null; - } - - /** Returns true if field tempVariables is set (has been assigned a value) and false otherwise */ - public boolean isSetTempVariables() { - return this.tempVariables != null; - } - - public void setTempVariablesIsSet(boolean value) { - if (!value) { - this.tempVariables = null; - } - } - - @Override - public void setFieldValue( - _Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { - switch (field) { - case CONFS: - if (value == null) { - unsetConfs(); - } else { - setConfs((java.util.Map) value); - } - break; - - case TEMP_VIEWS: - if (value == null) { - unsetTempViews(); - } else { - setTempViews((java.util.List) value); - } - break; - - case CURRENT_DATABASE: - if (value == null) { - unsetCurrentDatabase(); - } else { - setCurrentDatabase((java.lang.String) value); - } - break; - - case CURRENT_CATALOG: - if (value == null) { - unsetCurrentCatalog(); - } else { - setCurrentCatalog((java.lang.String) value); - } - break; - - case SESSION_CAPABILITIES: - if (value == null) { - unsetSessionCapabilities(); - } else { - setSessionCapabilities((TDBSqlSessionCapabilities) value); - } - break; - - case EXPRESSIONS_INFOS: - if (value == null) { - unsetExpressionsInfos(); - } else { - setExpressionsInfos((java.util.List) value); - } - break; - - case INTERNAL_CONFS: - if (value == null) { - unsetInternalConfs(); - } else { - setInternalConfs((java.util.Map) value); - } - break; - - case TEMP_VARIABLES: - if (value == null) { - unsetTempVariables(); - } else { - setTempVariables((java.util.List) value); - } - break; - } - } - - @org.apache.thrift.annotation.Nullable - @Override - public java.lang.Object getFieldValue(_Fields field) { - switch (field) { - case CONFS: - return getConfs(); - - case TEMP_VIEWS: - return getTempViews(); - - case CURRENT_DATABASE: - return getCurrentDatabase(); - - case CURRENT_CATALOG: - return getCurrentCatalog(); - - case SESSION_CAPABILITIES: - return getSessionCapabilities(); - - case EXPRESSIONS_INFOS: - return getExpressionsInfos(); - - case INTERNAL_CONFS: - return getInternalConfs(); - - case TEMP_VARIABLES: - return getTempVariables(); - } - throw new java.lang.IllegalStateException(); - } - - /** - * Returns true if field corresponding to fieldID is set (has been assigned a value) and false - * otherwise - */ - @Override - public boolean isSet(_Fields field) { - if (field == null) { - throw new java.lang.IllegalArgumentException(); - } - - switch (field) { - case CONFS: - return isSetConfs(); - case TEMP_VIEWS: - return isSetTempViews(); - case CURRENT_DATABASE: - return isSetCurrentDatabase(); - case CURRENT_CATALOG: - return isSetCurrentCatalog(); - case SESSION_CAPABILITIES: - return isSetSessionCapabilities(); - case EXPRESSIONS_INFOS: - return isSetExpressionsInfos(); - case INTERNAL_CONFS: - return isSetInternalConfs(); - case TEMP_VARIABLES: - return isSetTempVariables(); - } - throw new java.lang.IllegalStateException(); - } - - @Override - public boolean equals(java.lang.Object that) { - if (that instanceof TDBSqlSessionConf) return this.equals((TDBSqlSessionConf) that); - return false; - } - - public boolean equals(TDBSqlSessionConf that) { - if (that == null) return false; - if (this == that) return true; - - boolean this_present_confs = true && this.isSetConfs(); - boolean that_present_confs = true && that.isSetConfs(); - if (this_present_confs || that_present_confs) { - if (!(this_present_confs && that_present_confs)) return false; - if (!this.confs.equals(that.confs)) return false; - } - - boolean this_present_tempViews = true && this.isSetTempViews(); - boolean that_present_tempViews = true && that.isSetTempViews(); - if (this_present_tempViews || that_present_tempViews) { - if (!(this_present_tempViews && that_present_tempViews)) return false; - if (!this.tempViews.equals(that.tempViews)) return false; - } - - boolean this_present_currentDatabase = true && this.isSetCurrentDatabase(); - boolean that_present_currentDatabase = true && that.isSetCurrentDatabase(); - if (this_present_currentDatabase || that_present_currentDatabase) { - if (!(this_present_currentDatabase && that_present_currentDatabase)) return false; - if (!this.currentDatabase.equals(that.currentDatabase)) return false; - } - - boolean this_present_currentCatalog = true && this.isSetCurrentCatalog(); - boolean that_present_currentCatalog = true && that.isSetCurrentCatalog(); - if (this_present_currentCatalog || that_present_currentCatalog) { - if (!(this_present_currentCatalog && that_present_currentCatalog)) return false; - if (!this.currentCatalog.equals(that.currentCatalog)) return false; - } - - boolean this_present_sessionCapabilities = true && this.isSetSessionCapabilities(); - boolean that_present_sessionCapabilities = true && that.isSetSessionCapabilities(); - if (this_present_sessionCapabilities || that_present_sessionCapabilities) { - if (!(this_present_sessionCapabilities && that_present_sessionCapabilities)) return false; - if (!this.sessionCapabilities.equals(that.sessionCapabilities)) return false; - } - - boolean this_present_expressionsInfos = true && this.isSetExpressionsInfos(); - boolean that_present_expressionsInfos = true && that.isSetExpressionsInfos(); - if (this_present_expressionsInfos || that_present_expressionsInfos) { - if (!(this_present_expressionsInfos && that_present_expressionsInfos)) return false; - if (!this.expressionsInfos.equals(that.expressionsInfos)) return false; - } - - boolean this_present_internalConfs = true && this.isSetInternalConfs(); - boolean that_present_internalConfs = true && that.isSetInternalConfs(); - if (this_present_internalConfs || that_present_internalConfs) { - if (!(this_present_internalConfs && that_present_internalConfs)) return false; - if (!this.internalConfs.equals(that.internalConfs)) return false; - } - - boolean this_present_tempVariables = true && this.isSetTempVariables(); - boolean that_present_tempVariables = true && that.isSetTempVariables(); - if (this_present_tempVariables || that_present_tempVariables) { - if (!(this_present_tempVariables && that_present_tempVariables)) return false; - if (!this.tempVariables.equals(that.tempVariables)) return false; - } - - return true; - } - - @Override - public int hashCode() { - int hashCode = 1; - - hashCode = hashCode * 8191 + ((isSetConfs()) ? 131071 : 524287); - if (isSetConfs()) hashCode = hashCode * 8191 + confs.hashCode(); - - hashCode = hashCode * 8191 + ((isSetTempViews()) ? 131071 : 524287); - if (isSetTempViews()) hashCode = hashCode * 8191 + tempViews.hashCode(); - - hashCode = hashCode * 8191 + ((isSetCurrentDatabase()) ? 131071 : 524287); - if (isSetCurrentDatabase()) hashCode = hashCode * 8191 + currentDatabase.hashCode(); - - hashCode = hashCode * 8191 + ((isSetCurrentCatalog()) ? 131071 : 524287); - if (isSetCurrentCatalog()) hashCode = hashCode * 8191 + currentCatalog.hashCode(); - - hashCode = hashCode * 8191 + ((isSetSessionCapabilities()) ? 131071 : 524287); - if (isSetSessionCapabilities()) hashCode = hashCode * 8191 + sessionCapabilities.hashCode(); - - hashCode = hashCode * 8191 + ((isSetExpressionsInfos()) ? 131071 : 524287); - if (isSetExpressionsInfos()) hashCode = hashCode * 8191 + expressionsInfos.hashCode(); - - hashCode = hashCode * 8191 + ((isSetInternalConfs()) ? 131071 : 524287); - if (isSetInternalConfs()) hashCode = hashCode * 8191 + internalConfs.hashCode(); - - hashCode = hashCode * 8191 + ((isSetTempVariables()) ? 131071 : 524287); - if (isSetTempVariables()) hashCode = hashCode * 8191 + tempVariables.hashCode(); - - return hashCode; - } - - @Override - public int compareTo(TDBSqlSessionConf other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); - } - - int lastComparison = 0; - - lastComparison = java.lang.Boolean.compare(isSetConfs(), other.isSetConfs()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetConfs()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.confs, other.confs); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetTempViews(), other.isSetTempViews()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetTempViews()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tempViews, other.tempViews); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = - java.lang.Boolean.compare(isSetCurrentDatabase(), other.isSetCurrentDatabase()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetCurrentDatabase()) { - lastComparison = - org.apache.thrift.TBaseHelper.compareTo(this.currentDatabase, other.currentDatabase); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetCurrentCatalog(), other.isSetCurrentCatalog()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetCurrentCatalog()) { - lastComparison = - org.apache.thrift.TBaseHelper.compareTo(this.currentCatalog, other.currentCatalog); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = - java.lang.Boolean.compare(isSetSessionCapabilities(), other.isSetSessionCapabilities()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetSessionCapabilities()) { - lastComparison = - org.apache.thrift.TBaseHelper.compareTo( - this.sessionCapabilities, other.sessionCapabilities); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = - java.lang.Boolean.compare(isSetExpressionsInfos(), other.isSetExpressionsInfos()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetExpressionsInfos()) { - lastComparison = - org.apache.thrift.TBaseHelper.compareTo(this.expressionsInfos, other.expressionsInfos); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetInternalConfs(), other.isSetInternalConfs()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetInternalConfs()) { - lastComparison = - org.apache.thrift.TBaseHelper.compareTo(this.internalConfs, other.internalConfs); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetTempVariables(), other.isSetTempVariables()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetTempVariables()) { - lastComparison = - org.apache.thrift.TBaseHelper.compareTo(this.tempVariables, other.tempVariables); - if (lastComparison != 0) { - return lastComparison; - } - } - return 0; - } - - @org.apache.thrift.annotation.Nullable - @Override - public _Fields fieldForId(int fieldId) { - return _Fields.findByThriftId(fieldId); - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { - scheme(iprot).read(iprot, this); - } - - @Override - public void write(org.apache.thrift.protocol.TProtocol oprot) - throws org.apache.thrift.TException { - scheme(oprot).write(oprot, this); - } - - @Override - public java.lang.String toString() { - java.lang.StringBuilder sb = new java.lang.StringBuilder("TDBSqlSessionConf("); - boolean first = true; - - if (isSetConfs()) { - sb.append("confs:"); - if (this.confs == null) { - sb.append("null"); - } else { - sb.append(this.confs); - } - first = false; - } - if (isSetTempViews()) { - if (!first) sb.append(", "); - sb.append("tempViews:"); - if (this.tempViews == null) { - sb.append("null"); - } else { - sb.append(this.tempViews); - } - first = false; - } - if (isSetCurrentDatabase()) { - if (!first) sb.append(", "); - sb.append("currentDatabase:"); - if (this.currentDatabase == null) { - sb.append("null"); - } else { - sb.append(this.currentDatabase); - } - first = false; - } - if (isSetCurrentCatalog()) { - if (!first) sb.append(", "); - sb.append("currentCatalog:"); - if (this.currentCatalog == null) { - sb.append("null"); - } else { - sb.append(this.currentCatalog); - } - first = false; - } - if (isSetSessionCapabilities()) { - if (!first) sb.append(", "); - sb.append("sessionCapabilities:"); - if (this.sessionCapabilities == null) { - sb.append("null"); - } else { - sb.append(this.sessionCapabilities); - } - first = false; - } - if (isSetExpressionsInfos()) { - if (!first) sb.append(", "); - sb.append("expressionsInfos:"); - if (this.expressionsInfos == null) { - sb.append("null"); - } else { - sb.append(this.expressionsInfos); - } - first = false; - } - if (isSetInternalConfs()) { - if (!first) sb.append(", "); - sb.append("internalConfs:"); - if (this.internalConfs == null) { - sb.append("null"); - } else { - sb.append(this.internalConfs); - } - first = false; - } - if (isSetTempVariables()) { - if (!first) sb.append(", "); - sb.append("tempVariables:"); - if (this.tempVariables == null) { - sb.append("null"); - } else { - sb.append(this.tempVariables); - } - 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 (sessionCapabilities != null) { - sessionCapabilities.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, java.lang.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 TDBSqlSessionConfStandardSchemeFactory - implements org.apache.thrift.scheme.SchemeFactory { - @Override - public TDBSqlSessionConfStandardScheme getScheme() { - return new TDBSqlSessionConfStandardScheme(); - } - } - - private static class TDBSqlSessionConfStandardScheme - extends org.apache.thrift.scheme.StandardScheme { - - @Override - public void read(org.apache.thrift.protocol.TProtocol iprot, TDBSqlSessionConf 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: // CONFS - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map180 = iprot.readMapBegin(); - struct.confs = - new java.util.HashMap(2 * _map180.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key181; - @org.apache.thrift.annotation.Nullable java.lang.String _val182; - for (int _i183 = 0; _i183 < _map180.size; ++_i183) { - _key181 = iprot.readString(); - _val182 = iprot.readString(); - struct.confs.put(_key181, _val182); - } - iprot.readMapEnd(); - } - struct.setConfsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TEMP_VIEWS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list184 = iprot.readListBegin(); - struct.tempViews = new java.util.ArrayList(_list184.size); - @org.apache.thrift.annotation.Nullable TDBSqlTempView _elem185; - for (int _i186 = 0; _i186 < _list184.size; ++_i186) { - _elem185 = new TDBSqlTempView(); - _elem185.read(iprot); - struct.tempViews.add(_elem185); - } - iprot.readListEnd(); - } - struct.setTempViewsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // CURRENT_DATABASE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.currentDatabase = iprot.readString(); - struct.setCurrentDatabaseIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // CURRENT_CATALOG - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.currentCatalog = iprot.readString(); - struct.setCurrentCatalogIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // SESSION_CAPABILITIES - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.sessionCapabilities = new TDBSqlSessionCapabilities(); - struct.sessionCapabilities.read(iprot); - struct.setSessionCapabilitiesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // EXPRESSIONS_INFOS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list187 = iprot.readListBegin(); - struct.expressionsInfos = new java.util.ArrayList(_list187.size); - @org.apache.thrift.annotation.Nullable TExpressionInfo _elem188; - for (int _i189 = 0; _i189 < _list187.size; ++_i189) { - _elem188 = new TExpressionInfo(); - _elem188.read(iprot); - struct.expressionsInfos.add(_elem188); - } - iprot.readListEnd(); - } - struct.setExpressionsInfosIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 7: // INTERNAL_CONFS - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map190 = iprot.readMapBegin(); - struct.internalConfs = - new java.util.HashMap(2 * _map190.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key191; - @org.apache.thrift.annotation.Nullable TDBSqlConfValue _val192; - for (int _i193 = 0; _i193 < _map190.size; ++_i193) { - _key191 = iprot.readString(); - _val192 = new TDBSqlConfValue(); - _val192.read(iprot); - struct.internalConfs.put(_key191, _val192); - } - iprot.readMapEnd(); - } - struct.setInternalConfsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 8: // TEMP_VARIABLES - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list194 = iprot.readListBegin(); - struct.tempVariables = new java.util.ArrayList(_list194.size); - @org.apache.thrift.annotation.Nullable TSQLVariable _elem195; - for (int _i196 = 0; _i196 < _list194.size; ++_i196) { - _elem195 = new TSQLVariable(); - _elem195.read(iprot); - struct.tempVariables.add(_elem195); - } - iprot.readListEnd(); - } - struct.setTempVariablesIsSet(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(); - } - - @Override - public void write(org.apache.thrift.protocol.TProtocol oprot, TDBSqlSessionConf struct) - throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (struct.confs != null) { - if (struct.isSetConfs()) { - oprot.writeFieldBegin(CONFS_FIELD_DESC); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.STRING, - struct.confs.size())); - for (java.util.Map.Entry _iter197 : - struct.confs.entrySet()) { - oprot.writeString(_iter197.getKey()); - oprot.writeString(_iter197.getValue()); - } - oprot.writeMapEnd(); - } - oprot.writeFieldEnd(); - } - } - if (struct.tempViews != null) { - if (struct.isSetTempViews()) { - oprot.writeFieldBegin(TEMP_VIEWS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRUCT, struct.tempViews.size())); - for (TDBSqlTempView _iter198 : struct.tempViews) { - _iter198.write(oprot); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } - } - if (struct.currentDatabase != null) { - if (struct.isSetCurrentDatabase()) { - oprot.writeFieldBegin(CURRENT_DATABASE_FIELD_DESC); - oprot.writeString(struct.currentDatabase); - oprot.writeFieldEnd(); - } - } - if (struct.currentCatalog != null) { - if (struct.isSetCurrentCatalog()) { - oprot.writeFieldBegin(CURRENT_CATALOG_FIELD_DESC); - oprot.writeString(struct.currentCatalog); - oprot.writeFieldEnd(); - } - } - if (struct.sessionCapabilities != null) { - if (struct.isSetSessionCapabilities()) { - oprot.writeFieldBegin(SESSION_CAPABILITIES_FIELD_DESC); - struct.sessionCapabilities.write(oprot); - oprot.writeFieldEnd(); - } - } - if (struct.expressionsInfos != null) { - if (struct.isSetExpressionsInfos()) { - oprot.writeFieldBegin(EXPRESSIONS_INFOS_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRUCT, struct.expressionsInfos.size())); - for (TExpressionInfo _iter199 : struct.expressionsInfos) { - _iter199.write(oprot); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } - } - if (struct.internalConfs != null) { - if (struct.isSetInternalConfs()) { - oprot.writeFieldBegin(INTERNAL_CONFS_FIELD_DESC); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.STRUCT, - struct.internalConfs.size())); - for (java.util.Map.Entry _iter200 : - struct.internalConfs.entrySet()) { - oprot.writeString(_iter200.getKey()); - _iter200.getValue().write(oprot); - } - oprot.writeMapEnd(); - } - oprot.writeFieldEnd(); - } - } - if (struct.tempVariables != null) { - if (struct.isSetTempVariables()) { - oprot.writeFieldBegin(TEMP_VARIABLES_FIELD_DESC); - { - oprot.writeListBegin( - new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRUCT, struct.tempVariables.size())); - for (TSQLVariable _iter201 : struct.tempVariables) { - _iter201.write(oprot); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - } - - private static class TDBSqlSessionConfTupleSchemeFactory - implements org.apache.thrift.scheme.SchemeFactory { - @Override - public TDBSqlSessionConfTupleScheme getScheme() { - return new TDBSqlSessionConfTupleScheme(); - } - } - - private static class TDBSqlSessionConfTupleScheme - extends org.apache.thrift.scheme.TupleScheme { - - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TDBSqlSessionConf struct) - throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = - (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet optionals = new java.util.BitSet(); - if (struct.isSetConfs()) { - optionals.set(0); - } - if (struct.isSetTempViews()) { - optionals.set(1); - } - if (struct.isSetCurrentDatabase()) { - optionals.set(2); - } - if (struct.isSetCurrentCatalog()) { - optionals.set(3); - } - if (struct.isSetSessionCapabilities()) { - optionals.set(4); - } - if (struct.isSetExpressionsInfos()) { - optionals.set(5); - } - if (struct.isSetInternalConfs()) { - optionals.set(6); - } - if (struct.isSetTempVariables()) { - optionals.set(7); - } - oprot.writeBitSet(optionals, 8); - if (struct.isSetConfs()) { - { - oprot.writeI32(struct.confs.size()); - for (java.util.Map.Entry _iter202 : - struct.confs.entrySet()) { - oprot.writeString(_iter202.getKey()); - oprot.writeString(_iter202.getValue()); - } - } - } - if (struct.isSetTempViews()) { - { - oprot.writeI32(struct.tempViews.size()); - for (TDBSqlTempView _iter203 : struct.tempViews) { - _iter203.write(oprot); - } - } - } - if (struct.isSetCurrentDatabase()) { - oprot.writeString(struct.currentDatabase); - } - if (struct.isSetCurrentCatalog()) { - oprot.writeString(struct.currentCatalog); - } - if (struct.isSetSessionCapabilities()) { - struct.sessionCapabilities.write(oprot); - } - if (struct.isSetExpressionsInfos()) { - { - oprot.writeI32(struct.expressionsInfos.size()); - for (TExpressionInfo _iter204 : struct.expressionsInfos) { - _iter204.write(oprot); - } - } - } - if (struct.isSetInternalConfs()) { - { - oprot.writeI32(struct.internalConfs.size()); - for (java.util.Map.Entry _iter205 : - struct.internalConfs.entrySet()) { - oprot.writeString(_iter205.getKey()); - _iter205.getValue().write(oprot); - } - } - } - if (struct.isSetTempVariables()) { - { - oprot.writeI32(struct.tempVariables.size()); - for (TSQLVariable _iter206 : struct.tempVariables) { - _iter206.write(oprot); - } - } - } - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TDBSqlSessionConf struct) - throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = - (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(8); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TMap _map207 = - iprot.readMapBegin( - org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.confs = - new java.util.HashMap(2 * _map207.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key208; - @org.apache.thrift.annotation.Nullable java.lang.String _val209; - for (int _i210 = 0; _i210 < _map207.size; ++_i210) { - _key208 = iprot.readString(); - _val209 = iprot.readString(); - struct.confs.put(_key208, _val209); - } - } - struct.setConfsIsSet(true); - } - if (incoming.get(1)) { - { - org.apache.thrift.protocol.TList _list211 = - iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.tempViews = new java.util.ArrayList(_list211.size); - @org.apache.thrift.annotation.Nullable TDBSqlTempView _elem212; - for (int _i213 = 0; _i213 < _list211.size; ++_i213) { - _elem212 = new TDBSqlTempView(); - _elem212.read(iprot); - struct.tempViews.add(_elem212); - } - } - struct.setTempViewsIsSet(true); - } - if (incoming.get(2)) { - struct.currentDatabase = iprot.readString(); - struct.setCurrentDatabaseIsSet(true); - } - if (incoming.get(3)) { - struct.currentCatalog = iprot.readString(); - struct.setCurrentCatalogIsSet(true); - } - if (incoming.get(4)) { - struct.sessionCapabilities = new TDBSqlSessionCapabilities(); - struct.sessionCapabilities.read(iprot); - struct.setSessionCapabilitiesIsSet(true); - } - if (incoming.get(5)) { - { - org.apache.thrift.protocol.TList _list214 = - iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.expressionsInfos = new java.util.ArrayList(_list214.size); - @org.apache.thrift.annotation.Nullable TExpressionInfo _elem215; - for (int _i216 = 0; _i216 < _list214.size; ++_i216) { - _elem215 = new TExpressionInfo(); - _elem215.read(iprot); - struct.expressionsInfos.add(_elem215); - } - } - struct.setExpressionsInfosIsSet(true); - } - if (incoming.get(6)) { - { - org.apache.thrift.protocol.TMap _map217 = - iprot.readMapBegin( - org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT); - struct.internalConfs = - new java.util.HashMap(2 * _map217.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key218; - @org.apache.thrift.annotation.Nullable TDBSqlConfValue _val219; - for (int _i220 = 0; _i220 < _map217.size; ++_i220) { - _key218 = iprot.readString(); - _val219 = new TDBSqlConfValue(); - _val219.read(iprot); - struct.internalConfs.put(_key218, _val219); - } - } - struct.setInternalConfsIsSet(true); - } - if (incoming.get(7)) { - { - org.apache.thrift.protocol.TList _list221 = - iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.tempVariables = new java.util.ArrayList(_list221.size); - @org.apache.thrift.annotation.Nullable TSQLVariable _elem222; - for (int _i223 = 0; _i223 < _list221.size; ++_i223) { - _elem222 = new TSQLVariable(); - _elem222.read(iprot); - struct.tempVariables.add(_elem222); - } - } - struct.setTempVariablesIsSet(true); - } - } - } - - private static S scheme( - org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) - ? STANDARD_SCHEME_FACTORY - : TUPLE_SCHEME_FACTORY) - .getScheme(); - } -} diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlStatement.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlStatement.java deleted file mode 100644 index e899c4fe9f..0000000000 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlStatement.java +++ /dev/null @@ -1,415 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.19.0) - * - *

DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * - * @generated - */ -package com.databricks.jdbc.model.client.thrift.generated; - -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated( - value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") -public class TDBSqlStatement - 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("TDBSqlStatement"); - - private static final org.apache.thrift.protocol.TField STATEMENT_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "statement", org.apache.thrift.protocol.TType.STRING, (short) 1); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = - new TDBSqlStatementStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = - new TDBSqlStatementTupleSchemeFactory(); - - public @org.apache.thrift.annotation.Nullable java.lang.String statement; // optional - - /** - * The set of fields this struct contains, along with convenience methods for finding and - * manipulating them. - */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { - STATEMENT((short) 1, "statement"); - - private static final java.util.Map byName = - new java.util.HashMap(); - - static { - for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } - } - - /** Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable - public static _Fields findByThriftId(int fieldId) { - switch (fieldId) { - case 1: // STATEMENT - return STATEMENT; - 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 java.lang.IllegalArgumentException("Field " + fieldId + " doesn't exist!"); - return fields; - } - - /** Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable - public static _Fields findByName(java.lang.String name) { - return byName.get(name); - } - - private final short _thriftId; - private final java.lang.String _fieldName; - - _Fields(short thriftId, java.lang.String fieldName) { - _thriftId = thriftId; - _fieldName = fieldName; - } - - @Override - public short getThriftFieldId() { - return _thriftId; - } - - @Override - public java.lang.String getFieldName() { - return _fieldName; - } - } - - // isset id assignments - private static final _Fields optionals[] = {_Fields.STATEMENT}; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; - - static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = - new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put( - _Fields.STATEMENT, - new org.apache.thrift.meta_data.FieldMetaData( - "statement", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - TDBSqlStatement.class, metaDataMap); - } - - public TDBSqlStatement() {} - - /** Performs a deep copy on other. */ - public TDBSqlStatement(TDBSqlStatement other) { - if (other.isSetStatement()) { - this.statement = other.statement; - } - } - - @Override - public TDBSqlStatement deepCopy() { - return new TDBSqlStatement(this); - } - - @Override - public void clear() { - this.statement = null; - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getStatement() { - return this.statement; - } - - public TDBSqlStatement setStatement( - @org.apache.thrift.annotation.Nullable java.lang.String statement) { - this.statement = statement; - return this; - } - - public void unsetStatement() { - this.statement = null; - } - - /** Returns true if field statement is set (has been assigned a value) and false otherwise */ - public boolean isSetStatement() { - return this.statement != null; - } - - public void setStatementIsSet(boolean value) { - if (!value) { - this.statement = null; - } - } - - @Override - public void setFieldValue( - _Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { - switch (field) { - case STATEMENT: - if (value == null) { - unsetStatement(); - } else { - setStatement((java.lang.String) value); - } - break; - } - } - - @org.apache.thrift.annotation.Nullable - @Override - public java.lang.Object getFieldValue(_Fields field) { - switch (field) { - case STATEMENT: - return getStatement(); - } - throw new java.lang.IllegalStateException(); - } - - /** - * Returns true if field corresponding to fieldID is set (has been assigned a value) and false - * otherwise - */ - @Override - public boolean isSet(_Fields field) { - if (field == null) { - throw new java.lang.IllegalArgumentException(); - } - - switch (field) { - case STATEMENT: - return isSetStatement(); - } - throw new java.lang.IllegalStateException(); - } - - @Override - public boolean equals(java.lang.Object that) { - if (that instanceof TDBSqlStatement) return this.equals((TDBSqlStatement) that); - return false; - } - - public boolean equals(TDBSqlStatement that) { - if (that == null) return false; - if (this == that) return true; - - boolean this_present_statement = true && this.isSetStatement(); - boolean that_present_statement = true && that.isSetStatement(); - if (this_present_statement || that_present_statement) { - if (!(this_present_statement && that_present_statement)) return false; - if (!this.statement.equals(that.statement)) return false; - } - - return true; - } - - @Override - public int hashCode() { - int hashCode = 1; - - hashCode = hashCode * 8191 + ((isSetStatement()) ? 131071 : 524287); - if (isSetStatement()) hashCode = hashCode * 8191 + statement.hashCode(); - - return hashCode; - } - - @Override - public int compareTo(TDBSqlStatement other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); - } - - int lastComparison = 0; - - lastComparison = java.lang.Boolean.compare(isSetStatement(), other.isSetStatement()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetStatement()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.statement, other.statement); - if (lastComparison != 0) { - return lastComparison; - } - } - return 0; - } - - @org.apache.thrift.annotation.Nullable - @Override - public _Fields fieldForId(int fieldId) { - return _Fields.findByThriftId(fieldId); - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { - scheme(iprot).read(iprot, this); - } - - @Override - public void write(org.apache.thrift.protocol.TProtocol oprot) - throws org.apache.thrift.TException { - scheme(oprot).write(oprot, this); - } - - @Override - public java.lang.String toString() { - java.lang.StringBuilder sb = new java.lang.StringBuilder("TDBSqlStatement("); - boolean first = true; - - if (isSetStatement()) { - sb.append("statement:"); - if (this.statement == null) { - sb.append("null"); - } else { - sb.append(this.statement); - } - 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, java.lang.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 TDBSqlStatementStandardSchemeFactory - implements org.apache.thrift.scheme.SchemeFactory { - @Override - public TDBSqlStatementStandardScheme getScheme() { - return new TDBSqlStatementStandardScheme(); - } - } - - private static class TDBSqlStatementStandardScheme - extends org.apache.thrift.scheme.StandardScheme { - - @Override - public void read(org.apache.thrift.protocol.TProtocol iprot, TDBSqlStatement 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: // STATEMENT - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.statement = iprot.readString(); - struct.setStatementIsSet(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(); - } - - @Override - public void write(org.apache.thrift.protocol.TProtocol oprot, TDBSqlStatement struct) - throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (struct.statement != null) { - if (struct.isSetStatement()) { - oprot.writeFieldBegin(STATEMENT_FIELD_DESC); - oprot.writeString(struct.statement); - oprot.writeFieldEnd(); - } - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - } - - private static class TDBSqlStatementTupleSchemeFactory - implements org.apache.thrift.scheme.SchemeFactory { - @Override - public TDBSqlStatementTupleScheme getScheme() { - return new TDBSqlStatementTupleScheme(); - } - } - - private static class TDBSqlStatementTupleScheme - extends org.apache.thrift.scheme.TupleScheme { - - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TDBSqlStatement struct) - throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = - (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet optionals = new java.util.BitSet(); - if (struct.isSetStatement()) { - optionals.set(0); - } - oprot.writeBitSet(optionals, 1); - if (struct.isSetStatement()) { - oprot.writeString(struct.statement); - } - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TDBSqlStatement struct) - throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = - (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.statement = iprot.readString(); - struct.setStatementIsSet(true); - } - } - } - - private static S scheme( - org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) - ? STANDARD_SCHEME_FACTORY - : TUPLE_SCHEME_FACTORY) - .getScheme(); - } -} diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlTempView.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlTempView.java deleted file mode 100644 index bd619c9d22..0000000000 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDBSqlTempView.java +++ /dev/null @@ -1,816 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.19.0) - * - *

DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * - * @generated - */ -package com.databricks.jdbc.model.client.thrift.generated; - -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated( - value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") -public class TDBSqlTempView - 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("TDBSqlTempView"); - - private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "name", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField SQL_STATEMENT_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "sqlStatement", org.apache.thrift.protocol.TType.STRING, (short) 2); - private static final org.apache.thrift.protocol.TField PROPERTIES_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "properties", org.apache.thrift.protocol.TType.MAP, (short) 3); - private static final org.apache.thrift.protocol.TField VIEW_SCHEMA_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "viewSchema", org.apache.thrift.protocol.TType.STRING, (short) 4); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = - new TDBSqlTempViewStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = - new TDBSqlTempViewTupleSchemeFactory(); - - public @org.apache.thrift.annotation.Nullable java.lang.String name; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String sqlStatement; // optional - public @org.apache.thrift.annotation.Nullable java.util.Map - properties; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String viewSchema; // optional - - /** - * The set of fields this struct contains, along with convenience methods for finding and - * manipulating them. - */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { - NAME((short) 1, "name"), - SQL_STATEMENT((short) 2, "sqlStatement"), - PROPERTIES((short) 3, "properties"), - VIEW_SCHEMA((short) 4, "viewSchema"); - - private static final java.util.Map byName = - new java.util.HashMap(); - - static { - for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } - } - - /** Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable - public static _Fields findByThriftId(int fieldId) { - switch (fieldId) { - case 1: // NAME - return NAME; - case 2: // SQL_STATEMENT - return SQL_STATEMENT; - case 3: // PROPERTIES - return PROPERTIES; - case 4: // VIEW_SCHEMA - return VIEW_SCHEMA; - 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 java.lang.IllegalArgumentException("Field " + fieldId + " doesn't exist!"); - return fields; - } - - /** Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable - public static _Fields findByName(java.lang.String name) { - return byName.get(name); - } - - private final short _thriftId; - private final java.lang.String _fieldName; - - _Fields(short thriftId, java.lang.String fieldName) { - _thriftId = thriftId; - _fieldName = fieldName; - } - - @Override - public short getThriftFieldId() { - return _thriftId; - } - - @Override - public java.lang.String getFieldName() { - return _fieldName; - } - } - - // isset id assignments - private static final _Fields optionals[] = { - _Fields.NAME, _Fields.SQL_STATEMENT, _Fields.PROPERTIES, _Fields.VIEW_SCHEMA - }; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; - - static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = - new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put( - _Fields.NAME, - new org.apache.thrift.meta_data.FieldMetaData( - "name", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put( - _Fields.SQL_STATEMENT, - new org.apache.thrift.meta_data.FieldMetaData( - "sqlStatement", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put( - _Fields.PROPERTIES, - new org.apache.thrift.meta_data.FieldMetaData( - "properties", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - 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.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put( - _Fields.VIEW_SCHEMA, - new org.apache.thrift.meta_data.FieldMetaData( - "viewSchema", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - TDBSqlTempView.class, metaDataMap); - } - - public TDBSqlTempView() {} - - /** Performs a deep copy on other. */ - public TDBSqlTempView(TDBSqlTempView other) { - if (other.isSetName()) { - this.name = other.name; - } - if (other.isSetSqlStatement()) { - this.sqlStatement = other.sqlStatement; - } - if (other.isSetProperties()) { - java.util.Map __this__properties = - new java.util.HashMap(other.properties); - this.properties = __this__properties; - } - if (other.isSetViewSchema()) { - this.viewSchema = other.viewSchema; - } - } - - @Override - public TDBSqlTempView deepCopy() { - return new TDBSqlTempView(this); - } - - @Override - public void clear() { - this.name = null; - this.sqlStatement = null; - this.properties = null; - this.viewSchema = null; - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getName() { - return this.name; - } - - public TDBSqlTempView setName(@org.apache.thrift.annotation.Nullable java.lang.String name) { - this.name = name; - return this; - } - - public void unsetName() { - this.name = null; - } - - /** Returns true if field name is set (has been assigned a value) and false otherwise */ - public boolean isSetName() { - return this.name != null; - } - - public void setNameIsSet(boolean value) { - if (!value) { - this.name = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getSqlStatement() { - return this.sqlStatement; - } - - public TDBSqlTempView setSqlStatement( - @org.apache.thrift.annotation.Nullable java.lang.String sqlStatement) { - this.sqlStatement = sqlStatement; - return this; - } - - public void unsetSqlStatement() { - this.sqlStatement = null; - } - - /** Returns true if field sqlStatement is set (has been assigned a value) and false otherwise */ - public boolean isSetSqlStatement() { - return this.sqlStatement != null; - } - - public void setSqlStatementIsSet(boolean value) { - if (!value) { - this.sqlStatement = null; - } - } - - public int getPropertiesSize() { - return (this.properties == null) ? 0 : this.properties.size(); - } - - public void putToProperties(java.lang.String key, java.lang.String val) { - if (this.properties == null) { - this.properties = new java.util.HashMap(); - } - this.properties.put(key, val); - } - - @org.apache.thrift.annotation.Nullable - public java.util.Map getProperties() { - return this.properties; - } - - public TDBSqlTempView setProperties( - @org.apache.thrift.annotation.Nullable - java.util.Map properties) { - this.properties = properties; - return this; - } - - public void unsetProperties() { - this.properties = null; - } - - /** Returns true if field properties is set (has been assigned a value) and false otherwise */ - public boolean isSetProperties() { - return this.properties != null; - } - - public void setPropertiesIsSet(boolean value) { - if (!value) { - this.properties = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getViewSchema() { - return this.viewSchema; - } - - public TDBSqlTempView setViewSchema( - @org.apache.thrift.annotation.Nullable java.lang.String viewSchema) { - this.viewSchema = viewSchema; - return this; - } - - public void unsetViewSchema() { - this.viewSchema = null; - } - - /** Returns true if field viewSchema is set (has been assigned a value) and false otherwise */ - public boolean isSetViewSchema() { - return this.viewSchema != null; - } - - public void setViewSchemaIsSet(boolean value) { - if (!value) { - this.viewSchema = null; - } - } - - @Override - public void setFieldValue( - _Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { - switch (field) { - case NAME: - if (value == null) { - unsetName(); - } else { - setName((java.lang.String) value); - } - break; - - case SQL_STATEMENT: - if (value == null) { - unsetSqlStatement(); - } else { - setSqlStatement((java.lang.String) value); - } - break; - - case PROPERTIES: - if (value == null) { - unsetProperties(); - } else { - setProperties((java.util.Map) value); - } - break; - - case VIEW_SCHEMA: - if (value == null) { - unsetViewSchema(); - } else { - setViewSchema((java.lang.String) value); - } - break; - } - } - - @org.apache.thrift.annotation.Nullable - @Override - public java.lang.Object getFieldValue(_Fields field) { - switch (field) { - case NAME: - return getName(); - - case SQL_STATEMENT: - return getSqlStatement(); - - case PROPERTIES: - return getProperties(); - - case VIEW_SCHEMA: - return getViewSchema(); - } - throw new java.lang.IllegalStateException(); - } - - /** - * Returns true if field corresponding to fieldID is set (has been assigned a value) and false - * otherwise - */ - @Override - public boolean isSet(_Fields field) { - if (field == null) { - throw new java.lang.IllegalArgumentException(); - } - - switch (field) { - case NAME: - return isSetName(); - case SQL_STATEMENT: - return isSetSqlStatement(); - case PROPERTIES: - return isSetProperties(); - case VIEW_SCHEMA: - return isSetViewSchema(); - } - throw new java.lang.IllegalStateException(); - } - - @Override - public boolean equals(java.lang.Object that) { - if (that instanceof TDBSqlTempView) return this.equals((TDBSqlTempView) that); - return false; - } - - public boolean equals(TDBSqlTempView that) { - if (that == null) return false; - if (this == that) return true; - - boolean this_present_name = true && this.isSetName(); - boolean that_present_name = true && that.isSetName(); - if (this_present_name || that_present_name) { - if (!(this_present_name && that_present_name)) return false; - if (!this.name.equals(that.name)) return false; - } - - boolean this_present_sqlStatement = true && this.isSetSqlStatement(); - boolean that_present_sqlStatement = true && that.isSetSqlStatement(); - if (this_present_sqlStatement || that_present_sqlStatement) { - if (!(this_present_sqlStatement && that_present_sqlStatement)) return false; - if (!this.sqlStatement.equals(that.sqlStatement)) return false; - } - - boolean this_present_properties = true && this.isSetProperties(); - boolean that_present_properties = true && that.isSetProperties(); - if (this_present_properties || that_present_properties) { - if (!(this_present_properties && that_present_properties)) return false; - if (!this.properties.equals(that.properties)) return false; - } - - boolean this_present_viewSchema = true && this.isSetViewSchema(); - boolean that_present_viewSchema = true && that.isSetViewSchema(); - if (this_present_viewSchema || that_present_viewSchema) { - if (!(this_present_viewSchema && that_present_viewSchema)) return false; - if (!this.viewSchema.equals(that.viewSchema)) return false; - } - - return true; - } - - @Override - public int hashCode() { - int hashCode = 1; - - hashCode = hashCode * 8191 + ((isSetName()) ? 131071 : 524287); - if (isSetName()) hashCode = hashCode * 8191 + name.hashCode(); - - hashCode = hashCode * 8191 + ((isSetSqlStatement()) ? 131071 : 524287); - if (isSetSqlStatement()) hashCode = hashCode * 8191 + sqlStatement.hashCode(); - - hashCode = hashCode * 8191 + ((isSetProperties()) ? 131071 : 524287); - if (isSetProperties()) hashCode = hashCode * 8191 + properties.hashCode(); - - hashCode = hashCode * 8191 + ((isSetViewSchema()) ? 131071 : 524287); - if (isSetViewSchema()) hashCode = hashCode * 8191 + viewSchema.hashCode(); - - return hashCode; - } - - @Override - public int compareTo(TDBSqlTempView other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); - } - - int lastComparison = 0; - - lastComparison = java.lang.Boolean.compare(isSetName(), other.isSetName()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetSqlStatement(), other.isSetSqlStatement()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetSqlStatement()) { - lastComparison = - org.apache.thrift.TBaseHelper.compareTo(this.sqlStatement, other.sqlStatement); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetProperties(), other.isSetProperties()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetProperties()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.properties, other.properties); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetViewSchema(), other.isSetViewSchema()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetViewSchema()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.viewSchema, other.viewSchema); - if (lastComparison != 0) { - return lastComparison; - } - } - return 0; - } - - @org.apache.thrift.annotation.Nullable - @Override - public _Fields fieldForId(int fieldId) { - return _Fields.findByThriftId(fieldId); - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { - scheme(iprot).read(iprot, this); - } - - @Override - public void write(org.apache.thrift.protocol.TProtocol oprot) - throws org.apache.thrift.TException { - scheme(oprot).write(oprot, this); - } - - @Override - public java.lang.String toString() { - java.lang.StringBuilder sb = new java.lang.StringBuilder("TDBSqlTempView("); - boolean first = true; - - if (isSetName()) { - sb.append("name:"); - if (this.name == null) { - sb.append("null"); - } else { - sb.append(this.name); - } - first = false; - } - if (isSetSqlStatement()) { - if (!first) sb.append(", "); - sb.append("sqlStatement:"); - if (this.sqlStatement == null) { - sb.append("null"); - } else { - sb.append(this.sqlStatement); - } - first = false; - } - if (isSetProperties()) { - if (!first) sb.append(", "); - sb.append("properties:"); - if (this.properties == null) { - sb.append("null"); - } else { - sb.append(this.properties); - } - first = false; - } - if (isSetViewSchema()) { - if (!first) sb.append(", "); - sb.append("viewSchema:"); - if (this.viewSchema == null) { - sb.append("null"); - } else { - sb.append(this.viewSchema); - } - 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, java.lang.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 TDBSqlTempViewStandardSchemeFactory - implements org.apache.thrift.scheme.SchemeFactory { - @Override - public TDBSqlTempViewStandardScheme getScheme() { - return new TDBSqlTempViewStandardScheme(); - } - } - - private static class TDBSqlTempViewStandardScheme - extends org.apache.thrift.scheme.StandardScheme { - - @Override - public void read(org.apache.thrift.protocol.TProtocol iprot, TDBSqlTempView 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: // NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.name = iprot.readString(); - struct.setNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // SQL_STATEMENT - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.sqlStatement = iprot.readString(); - struct.setSqlStatementIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // PROPERTIES - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map170 = iprot.readMapBegin(); - struct.properties = - new java.util.HashMap(2 * _map170.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key171; - @org.apache.thrift.annotation.Nullable java.lang.String _val172; - for (int _i173 = 0; _i173 < _map170.size; ++_i173) { - _key171 = iprot.readString(); - _val172 = iprot.readString(); - struct.properties.put(_key171, _val172); - } - iprot.readMapEnd(); - } - struct.setPropertiesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // VIEW_SCHEMA - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.viewSchema = iprot.readString(); - struct.setViewSchemaIsSet(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(); - } - - @Override - public void write(org.apache.thrift.protocol.TProtocol oprot, TDBSqlTempView struct) - throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (struct.name != null) { - if (struct.isSetName()) { - oprot.writeFieldBegin(NAME_FIELD_DESC); - oprot.writeString(struct.name); - oprot.writeFieldEnd(); - } - } - if (struct.sqlStatement != null) { - if (struct.isSetSqlStatement()) { - oprot.writeFieldBegin(SQL_STATEMENT_FIELD_DESC); - oprot.writeString(struct.sqlStatement); - oprot.writeFieldEnd(); - } - } - if (struct.properties != null) { - if (struct.isSetProperties()) { - oprot.writeFieldBegin(PROPERTIES_FIELD_DESC); - { - oprot.writeMapBegin( - new org.apache.thrift.protocol.TMap( - org.apache.thrift.protocol.TType.STRING, - org.apache.thrift.protocol.TType.STRING, - struct.properties.size())); - for (java.util.Map.Entry _iter174 : - struct.properties.entrySet()) { - oprot.writeString(_iter174.getKey()); - oprot.writeString(_iter174.getValue()); - } - oprot.writeMapEnd(); - } - oprot.writeFieldEnd(); - } - } - if (struct.viewSchema != null) { - if (struct.isSetViewSchema()) { - oprot.writeFieldBegin(VIEW_SCHEMA_FIELD_DESC); - oprot.writeString(struct.viewSchema); - oprot.writeFieldEnd(); - } - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - } - - private static class TDBSqlTempViewTupleSchemeFactory - implements org.apache.thrift.scheme.SchemeFactory { - @Override - public TDBSqlTempViewTupleScheme getScheme() { - return new TDBSqlTempViewTupleScheme(); - } - } - - private static class TDBSqlTempViewTupleScheme - extends org.apache.thrift.scheme.TupleScheme { - - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TDBSqlTempView struct) - throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = - (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet optionals = new java.util.BitSet(); - if (struct.isSetName()) { - optionals.set(0); - } - if (struct.isSetSqlStatement()) { - optionals.set(1); - } - if (struct.isSetProperties()) { - optionals.set(2); - } - if (struct.isSetViewSchema()) { - optionals.set(3); - } - oprot.writeBitSet(optionals, 4); - if (struct.isSetName()) { - oprot.writeString(struct.name); - } - if (struct.isSetSqlStatement()) { - oprot.writeString(struct.sqlStatement); - } - if (struct.isSetProperties()) { - { - oprot.writeI32(struct.properties.size()); - for (java.util.Map.Entry _iter175 : - struct.properties.entrySet()) { - oprot.writeString(_iter175.getKey()); - oprot.writeString(_iter175.getValue()); - } - } - } - if (struct.isSetViewSchema()) { - oprot.writeString(struct.viewSchema); - } - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TDBSqlTempView struct) - throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = - (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(4); - if (incoming.get(0)) { - struct.name = iprot.readString(); - struct.setNameIsSet(true); - } - if (incoming.get(1)) { - struct.sqlStatement = iprot.readString(); - struct.setSqlStatementIsSet(true); - } - if (incoming.get(2)) { - { - org.apache.thrift.protocol.TMap _map176 = - iprot.readMapBegin( - org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); - struct.properties = - new java.util.HashMap(2 * _map176.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key177; - @org.apache.thrift.annotation.Nullable java.lang.String _val178; - for (int _i179 = 0; _i179 < _map176.size; ++_i179) { - _key177 = iprot.readString(); - _val178 = iprot.readString(); - struct.properties.put(_key177, _val178); - } - } - struct.setPropertiesIsSet(true); - } - if (incoming.get(3)) { - struct.viewSchema = iprot.readString(); - struct.setViewSchemaIsSet(true); - } - } - } - - private static S scheme( - org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) - ? STANDARD_SCHEME_FACTORY - : TUPLE_SCHEME_FACTORY) - .getScheme(); - } -} diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDoubleColumn.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDoubleColumn.java index 8d413dd653..5dc4cf25f9 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDoubleColumn.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDoubleColumn.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TDoubleColumn implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDoubleValue.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDoubleValue.java index f39a46b07e..8425aa3a52 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDoubleValue.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TDoubleValue.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TDoubleValue implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TExecuteStatementReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TExecuteStatementReq.java index ea4e542c71..5ebc24a9b5 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TExecuteStatementReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TExecuteStatementReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TExecuteStatementReq implements org.apache.thrift.TBase, java.io.Serializable, @@ -1667,15 +1667,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TExecuteStatementRe case 3: // CONF_OVERLAY if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map278 = iprot.readMapBegin(); + org.apache.thrift.protocol.TMap _map214 = iprot.readMapBegin(); struct.confOverlay = - new java.util.HashMap(2 * _map278.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key279; - @org.apache.thrift.annotation.Nullable java.lang.String _val280; - for (int _i281 = 0; _i281 < _map278.size; ++_i281) { - _key279 = iprot.readString(); - _val280 = iprot.readString(); - struct.confOverlay.put(_key279, _val280); + new java.util.HashMap(2 * _map214.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key215; + @org.apache.thrift.annotation.Nullable java.lang.String _val216; + for (int _i217 = 0; _i217 < _map214.size; ++_i217) { + _key215 = iprot.readString(); + _val216 = iprot.readString(); + struct.confOverlay.put(_key215, _val216); } iprot.readMapEnd(); } @@ -1761,13 +1761,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TExecuteStatementRe case 1288: // PARAMETERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list282 = iprot.readListBegin(); - struct.parameters = new java.util.ArrayList(_list282.size); - @org.apache.thrift.annotation.Nullable TSparkParameter _elem283; - for (int _i284 = 0; _i284 < _list282.size; ++_i284) { - _elem283 = new TSparkParameter(); - _elem283.read(iprot); - struct.parameters.add(_elem283); + org.apache.thrift.protocol.TList _list218 = iprot.readListBegin(); + struct.parameters = new java.util.ArrayList(_list218.size); + @org.apache.thrift.annotation.Nullable TSparkParameter _elem219; + for (int _i220 = 0; _i220 < _list218.size; ++_i220) { + _elem219 = new TSparkParameter(); + _elem219.read(iprot); + struct.parameters.add(_elem219); } iprot.readListEnd(); } @@ -1829,10 +1829,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TExecuteStatementR org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.confOverlay.size())); - for (java.util.Map.Entry _iter285 : + for (java.util.Map.Entry _iter221 : struct.confOverlay.entrySet()) { - oprot.writeString(_iter285.getKey()); - oprot.writeString(_iter285.getValue()); + oprot.writeString(_iter221.getKey()); + oprot.writeString(_iter221.getValue()); } oprot.writeMapEnd(); } @@ -1895,8 +1895,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TExecuteStatementR oprot.writeListBegin( new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, struct.parameters.size())); - for (TSparkParameter _iter286 : struct.parameters) { - _iter286.write(oprot); + for (TSparkParameter _iter222 : struct.parameters) { + _iter222.write(oprot); } oprot.writeListEnd(); } @@ -1982,10 +1982,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TExecuteStatementRe if (struct.isSetConfOverlay()) { { oprot.writeI32(struct.confOverlay.size()); - for (java.util.Map.Entry _iter287 : + for (java.util.Map.Entry _iter223 : struct.confOverlay.entrySet()) { - oprot.writeString(_iter287.getKey()); - oprot.writeString(_iter287.getValue()); + oprot.writeString(_iter223.getKey()); + oprot.writeString(_iter223.getValue()); } } } @@ -2019,8 +2019,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TExecuteStatementRe if (struct.isSetParameters()) { { oprot.writeI32(struct.parameters.size()); - for (TSparkParameter _iter288 : struct.parameters) { - _iter288.write(oprot); + for (TSparkParameter _iter224 : struct.parameters) { + _iter224.write(oprot); } } } @@ -2045,17 +2045,17 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TExecuteStatementReq java.util.BitSet incoming = iprot.readBitSet(13); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map289 = + org.apache.thrift.protocol.TMap _map225 = iprot.readMapBegin( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.confOverlay = - new java.util.HashMap(2 * _map289.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key290; - @org.apache.thrift.annotation.Nullable java.lang.String _val291; - for (int _i292 = 0; _i292 < _map289.size; ++_i292) { - _key290 = iprot.readString(); - _val291 = iprot.readString(); - struct.confOverlay.put(_key290, _val291); + new java.util.HashMap(2 * _map225.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key226; + @org.apache.thrift.annotation.Nullable java.lang.String _val227; + for (int _i228 = 0; _i228 < _map225.size; ++_i228) { + _key226 = iprot.readString(); + _val227 = iprot.readString(); + struct.confOverlay.put(_key226, _val227); } } struct.setConfOverlayIsSet(true); @@ -2100,14 +2100,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TExecuteStatementReq } if (incoming.get(10)) { { - org.apache.thrift.protocol.TList _list293 = + org.apache.thrift.protocol.TList _list229 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.parameters = new java.util.ArrayList(_list293.size); - @org.apache.thrift.annotation.Nullable TSparkParameter _elem294; - for (int _i295 = 0; _i295 < _list293.size; ++_i295) { - _elem294 = new TSparkParameter(); - _elem294.read(iprot); - struct.parameters.add(_elem294); + struct.parameters = new java.util.ArrayList(_list229.size); + @org.apache.thrift.annotation.Nullable TSparkParameter _elem230; + for (int _i231 = 0; _i231 < _list229.size; ++_i231) { + _elem230 = new TSparkParameter(); + _elem230.read(iprot); + struct.parameters.add(_elem230); } } struct.setParametersIsSet(true); diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TExecuteStatementResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TExecuteStatementResp.java index 193438e7d5..8939cd9815 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TExecuteStatementResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TExecuteStatementResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TExecuteStatementResp implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TExpressionInfo.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TExpressionInfo.java deleted file mode 100644 index 93b033fa27..0000000000 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TExpressionInfo.java +++ /dev/null @@ -1,1653 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.19.0) - * - *

DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * - * @generated - */ -package com.databricks.jdbc.model.client.thrift.generated; - -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated( - value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") -public class TExpressionInfo - 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("TExpressionInfo"); - - private static final org.apache.thrift.protocol.TField CLASS_NAME_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "className", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField USAGE_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "usage", org.apache.thrift.protocol.TType.STRING, (short) 2); - private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "name", org.apache.thrift.protocol.TType.STRING, (short) 3); - private static final org.apache.thrift.protocol.TField EXTENDED_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "extended", org.apache.thrift.protocol.TType.STRING, (short) 4); - private static final org.apache.thrift.protocol.TField DB_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "db", org.apache.thrift.protocol.TType.STRING, (short) 5); - private static final org.apache.thrift.protocol.TField ARGUMENTS_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "arguments", org.apache.thrift.protocol.TType.STRING, (short) 6); - private static final org.apache.thrift.protocol.TField EXAMPLES_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "examples", org.apache.thrift.protocol.TType.STRING, (short) 7); - private static final org.apache.thrift.protocol.TField NOTE_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "note", org.apache.thrift.protocol.TType.STRING, (short) 8); - private static final org.apache.thrift.protocol.TField GROUP_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "group", org.apache.thrift.protocol.TType.STRING, (short) 9); - private static final org.apache.thrift.protocol.TField SINCE_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "since", org.apache.thrift.protocol.TType.STRING, (short) 10); - private static final org.apache.thrift.protocol.TField DEPRECATED_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "deprecated", org.apache.thrift.protocol.TType.STRING, (short) 11); - private static final org.apache.thrift.protocol.TField SOURCE_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "source", org.apache.thrift.protocol.TType.STRING, (short) 12); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = - new TExpressionInfoStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = - new TExpressionInfoTupleSchemeFactory(); - - public @org.apache.thrift.annotation.Nullable java.lang.String className; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String usage; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String name; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String extended; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String db; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String arguments; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String examples; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String note; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String group; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String since; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String deprecated; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String source; // optional - - /** - * The set of fields this struct contains, along with convenience methods for finding and - * manipulating them. - */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CLASS_NAME((short) 1, "className"), - USAGE((short) 2, "usage"), - NAME((short) 3, "name"), - EXTENDED((short) 4, "extended"), - DB((short) 5, "db"), - ARGUMENTS((short) 6, "arguments"), - EXAMPLES((short) 7, "examples"), - NOTE((short) 8, "note"), - GROUP((short) 9, "group"), - SINCE((short) 10, "since"), - DEPRECATED((short) 11, "deprecated"), - SOURCE((short) 12, "source"); - - private static final java.util.Map byName = - new java.util.HashMap(); - - static { - for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } - } - - /** Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable - public static _Fields findByThriftId(int fieldId) { - switch (fieldId) { - case 1: // CLASS_NAME - return CLASS_NAME; - case 2: // USAGE - return USAGE; - case 3: // NAME - return NAME; - case 4: // EXTENDED - return EXTENDED; - case 5: // DB - return DB; - case 6: // ARGUMENTS - return ARGUMENTS; - case 7: // EXAMPLES - return EXAMPLES; - case 8: // NOTE - return NOTE; - case 9: // GROUP - return GROUP; - case 10: // SINCE - return SINCE; - case 11: // DEPRECATED - return DEPRECATED; - case 12: // SOURCE - return SOURCE; - 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 java.lang.IllegalArgumentException("Field " + fieldId + " doesn't exist!"); - return fields; - } - - /** Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable - public static _Fields findByName(java.lang.String name) { - return byName.get(name); - } - - private final short _thriftId; - private final java.lang.String _fieldName; - - _Fields(short thriftId, java.lang.String fieldName) { - _thriftId = thriftId; - _fieldName = fieldName; - } - - @Override - public short getThriftFieldId() { - return _thriftId; - } - - @Override - public java.lang.String getFieldName() { - return _fieldName; - } - } - - // isset id assignments - private static final _Fields optionals[] = { - _Fields.CLASS_NAME, - _Fields.USAGE, - _Fields.NAME, - _Fields.EXTENDED, - _Fields.DB, - _Fields.ARGUMENTS, - _Fields.EXAMPLES, - _Fields.NOTE, - _Fields.GROUP, - _Fields.SINCE, - _Fields.DEPRECATED, - _Fields.SOURCE - }; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; - - static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = - new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put( - _Fields.CLASS_NAME, - new org.apache.thrift.meta_data.FieldMetaData( - "className", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put( - _Fields.USAGE, - new org.apache.thrift.meta_data.FieldMetaData( - "usage", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put( - _Fields.NAME, - new org.apache.thrift.meta_data.FieldMetaData( - "name", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put( - _Fields.EXTENDED, - new org.apache.thrift.meta_data.FieldMetaData( - "extended", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put( - _Fields.DB, - new org.apache.thrift.meta_data.FieldMetaData( - "db", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put( - _Fields.ARGUMENTS, - new org.apache.thrift.meta_data.FieldMetaData( - "arguments", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put( - _Fields.EXAMPLES, - new org.apache.thrift.meta_data.FieldMetaData( - "examples", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put( - _Fields.NOTE, - new org.apache.thrift.meta_data.FieldMetaData( - "note", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put( - _Fields.GROUP, - new org.apache.thrift.meta_data.FieldMetaData( - "group", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put( - _Fields.SINCE, - new org.apache.thrift.meta_data.FieldMetaData( - "since", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put( - _Fields.DEPRECATED, - new org.apache.thrift.meta_data.FieldMetaData( - "deprecated", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put( - _Fields.SOURCE, - new org.apache.thrift.meta_data.FieldMetaData( - "source", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap( - TExpressionInfo.class, metaDataMap); - } - - public TExpressionInfo() {} - - /** Performs a deep copy on other. */ - public TExpressionInfo(TExpressionInfo other) { - if (other.isSetClassName()) { - this.className = other.className; - } - if (other.isSetUsage()) { - this.usage = other.usage; - } - if (other.isSetName()) { - this.name = other.name; - } - if (other.isSetExtended()) { - this.extended = other.extended; - } - if (other.isSetDb()) { - this.db = other.db; - } - if (other.isSetArguments()) { - this.arguments = other.arguments; - } - if (other.isSetExamples()) { - this.examples = other.examples; - } - if (other.isSetNote()) { - this.note = other.note; - } - if (other.isSetGroup()) { - this.group = other.group; - } - if (other.isSetSince()) { - this.since = other.since; - } - if (other.isSetDeprecated()) { - this.deprecated = other.deprecated; - } - if (other.isSetSource()) { - this.source = other.source; - } - } - - @Override - public TExpressionInfo deepCopy() { - return new TExpressionInfo(this); - } - - @Override - public void clear() { - this.className = null; - this.usage = null; - this.name = null; - this.extended = null; - this.db = null; - this.arguments = null; - this.examples = null; - this.note = null; - this.group = null; - this.since = null; - this.deprecated = null; - this.source = null; - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getClassName() { - return this.className; - } - - public TExpressionInfo setClassName( - @org.apache.thrift.annotation.Nullable java.lang.String className) { - this.className = className; - return this; - } - - public void unsetClassName() { - this.className = null; - } - - /** Returns true if field className is set (has been assigned a value) and false otherwise */ - public boolean isSetClassName() { - return this.className != null; - } - - public void setClassNameIsSet(boolean value) { - if (!value) { - this.className = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getUsage() { - return this.usage; - } - - public TExpressionInfo setUsage(@org.apache.thrift.annotation.Nullable java.lang.String usage) { - this.usage = usage; - return this; - } - - public void unsetUsage() { - this.usage = null; - } - - /** Returns true if field usage is set (has been assigned a value) and false otherwise */ - public boolean isSetUsage() { - return this.usage != null; - } - - public void setUsageIsSet(boolean value) { - if (!value) { - this.usage = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getName() { - return this.name; - } - - public TExpressionInfo setName(@org.apache.thrift.annotation.Nullable java.lang.String name) { - this.name = name; - return this; - } - - public void unsetName() { - this.name = null; - } - - /** Returns true if field name is set (has been assigned a value) and false otherwise */ - public boolean isSetName() { - return this.name != null; - } - - public void setNameIsSet(boolean value) { - if (!value) { - this.name = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getExtended() { - return this.extended; - } - - public TExpressionInfo setExtended( - @org.apache.thrift.annotation.Nullable java.lang.String extended) { - this.extended = extended; - return this; - } - - public void unsetExtended() { - this.extended = null; - } - - /** Returns true if field extended is set (has been assigned a value) and false otherwise */ - public boolean isSetExtended() { - return this.extended != null; - } - - public void setExtendedIsSet(boolean value) { - if (!value) { - this.extended = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getDb() { - return this.db; - } - - public TExpressionInfo setDb(@org.apache.thrift.annotation.Nullable java.lang.String db) { - this.db = db; - return this; - } - - public void unsetDb() { - this.db = null; - } - - /** Returns true if field db is set (has been assigned a value) and false otherwise */ - public boolean isSetDb() { - return this.db != null; - } - - public void setDbIsSet(boolean value) { - if (!value) { - this.db = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getArguments() { - return this.arguments; - } - - public TExpressionInfo setArguments( - @org.apache.thrift.annotation.Nullable java.lang.String arguments) { - this.arguments = arguments; - return this; - } - - public void unsetArguments() { - this.arguments = null; - } - - /** Returns true if field arguments is set (has been assigned a value) and false otherwise */ - public boolean isSetArguments() { - return this.arguments != null; - } - - public void setArgumentsIsSet(boolean value) { - if (!value) { - this.arguments = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getExamples() { - return this.examples; - } - - public TExpressionInfo setExamples( - @org.apache.thrift.annotation.Nullable java.lang.String examples) { - this.examples = examples; - return this; - } - - public void unsetExamples() { - this.examples = null; - } - - /** Returns true if field examples is set (has been assigned a value) and false otherwise */ - public boolean isSetExamples() { - return this.examples != null; - } - - public void setExamplesIsSet(boolean value) { - if (!value) { - this.examples = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getNote() { - return this.note; - } - - public TExpressionInfo setNote(@org.apache.thrift.annotation.Nullable java.lang.String note) { - this.note = note; - return this; - } - - public void unsetNote() { - this.note = null; - } - - /** Returns true if field note is set (has been assigned a value) and false otherwise */ - public boolean isSetNote() { - return this.note != null; - } - - public void setNoteIsSet(boolean value) { - if (!value) { - this.note = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getGroup() { - return this.group; - } - - public TExpressionInfo setGroup(@org.apache.thrift.annotation.Nullable java.lang.String group) { - this.group = group; - return this; - } - - public void unsetGroup() { - this.group = null; - } - - /** Returns true if field group is set (has been assigned a value) and false otherwise */ - public boolean isSetGroup() { - return this.group != null; - } - - public void setGroupIsSet(boolean value) { - if (!value) { - this.group = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getSince() { - return this.since; - } - - public TExpressionInfo setSince(@org.apache.thrift.annotation.Nullable java.lang.String since) { - this.since = since; - return this; - } - - public void unsetSince() { - this.since = null; - } - - /** Returns true if field since is set (has been assigned a value) and false otherwise */ - public boolean isSetSince() { - return this.since != null; - } - - public void setSinceIsSet(boolean value) { - if (!value) { - this.since = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getDeprecated() { - return this.deprecated; - } - - public TExpressionInfo setDeprecated( - @org.apache.thrift.annotation.Nullable java.lang.String deprecated) { - this.deprecated = deprecated; - return this; - } - - public void unsetDeprecated() { - this.deprecated = null; - } - - /** Returns true if field deprecated is set (has been assigned a value) and false otherwise */ - public boolean isSetDeprecated() { - return this.deprecated != null; - } - - public void setDeprecatedIsSet(boolean value) { - if (!value) { - this.deprecated = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getSource() { - return this.source; - } - - public TExpressionInfo setSource(@org.apache.thrift.annotation.Nullable java.lang.String source) { - this.source = source; - return this; - } - - public void unsetSource() { - this.source = null; - } - - /** Returns true if field source is set (has been assigned a value) and false otherwise */ - public boolean isSetSource() { - return this.source != null; - } - - public void setSourceIsSet(boolean value) { - if (!value) { - this.source = null; - } - } - - @Override - public void setFieldValue( - _Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { - switch (field) { - case CLASS_NAME: - if (value == null) { - unsetClassName(); - } else { - setClassName((java.lang.String) value); - } - break; - - case USAGE: - if (value == null) { - unsetUsage(); - } else { - setUsage((java.lang.String) value); - } - break; - - case NAME: - if (value == null) { - unsetName(); - } else { - setName((java.lang.String) value); - } - break; - - case EXTENDED: - if (value == null) { - unsetExtended(); - } else { - setExtended((java.lang.String) value); - } - break; - - case DB: - if (value == null) { - unsetDb(); - } else { - setDb((java.lang.String) value); - } - break; - - case ARGUMENTS: - if (value == null) { - unsetArguments(); - } else { - setArguments((java.lang.String) value); - } - break; - - case EXAMPLES: - if (value == null) { - unsetExamples(); - } else { - setExamples((java.lang.String) value); - } - break; - - case NOTE: - if (value == null) { - unsetNote(); - } else { - setNote((java.lang.String) value); - } - break; - - case GROUP: - if (value == null) { - unsetGroup(); - } else { - setGroup((java.lang.String) value); - } - break; - - case SINCE: - if (value == null) { - unsetSince(); - } else { - setSince((java.lang.String) value); - } - break; - - case DEPRECATED: - if (value == null) { - unsetDeprecated(); - } else { - setDeprecated((java.lang.String) value); - } - break; - - case SOURCE: - if (value == null) { - unsetSource(); - } else { - setSource((java.lang.String) value); - } - break; - } - } - - @org.apache.thrift.annotation.Nullable - @Override - public java.lang.Object getFieldValue(_Fields field) { - switch (field) { - case CLASS_NAME: - return getClassName(); - - case USAGE: - return getUsage(); - - case NAME: - return getName(); - - case EXTENDED: - return getExtended(); - - case DB: - return getDb(); - - case ARGUMENTS: - return getArguments(); - - case EXAMPLES: - return getExamples(); - - case NOTE: - return getNote(); - - case GROUP: - return getGroup(); - - case SINCE: - return getSince(); - - case DEPRECATED: - return getDeprecated(); - - case SOURCE: - return getSource(); - } - throw new java.lang.IllegalStateException(); - } - - /** - * Returns true if field corresponding to fieldID is set (has been assigned a value) and false - * otherwise - */ - @Override - public boolean isSet(_Fields field) { - if (field == null) { - throw new java.lang.IllegalArgumentException(); - } - - switch (field) { - case CLASS_NAME: - return isSetClassName(); - case USAGE: - return isSetUsage(); - case NAME: - return isSetName(); - case EXTENDED: - return isSetExtended(); - case DB: - return isSetDb(); - case ARGUMENTS: - return isSetArguments(); - case EXAMPLES: - return isSetExamples(); - case NOTE: - return isSetNote(); - case GROUP: - return isSetGroup(); - case SINCE: - return isSetSince(); - case DEPRECATED: - return isSetDeprecated(); - case SOURCE: - return isSetSource(); - } - throw new java.lang.IllegalStateException(); - } - - @Override - public boolean equals(java.lang.Object that) { - if (that instanceof TExpressionInfo) return this.equals((TExpressionInfo) that); - return false; - } - - public boolean equals(TExpressionInfo that) { - if (that == null) return false; - if (this == that) return true; - - boolean this_present_className = true && this.isSetClassName(); - boolean that_present_className = true && that.isSetClassName(); - if (this_present_className || that_present_className) { - if (!(this_present_className && that_present_className)) return false; - if (!this.className.equals(that.className)) return false; - } - - boolean this_present_usage = true && this.isSetUsage(); - boolean that_present_usage = true && that.isSetUsage(); - if (this_present_usage || that_present_usage) { - if (!(this_present_usage && that_present_usage)) return false; - if (!this.usage.equals(that.usage)) return false; - } - - boolean this_present_name = true && this.isSetName(); - boolean that_present_name = true && that.isSetName(); - if (this_present_name || that_present_name) { - if (!(this_present_name && that_present_name)) return false; - if (!this.name.equals(that.name)) return false; - } - - boolean this_present_extended = true && this.isSetExtended(); - boolean that_present_extended = true && that.isSetExtended(); - if (this_present_extended || that_present_extended) { - if (!(this_present_extended && that_present_extended)) return false; - if (!this.extended.equals(that.extended)) return false; - } - - boolean this_present_db = true && this.isSetDb(); - boolean that_present_db = true && that.isSetDb(); - if (this_present_db || that_present_db) { - if (!(this_present_db && that_present_db)) return false; - if (!this.db.equals(that.db)) return false; - } - - boolean this_present_arguments = true && this.isSetArguments(); - boolean that_present_arguments = true && that.isSetArguments(); - if (this_present_arguments || that_present_arguments) { - if (!(this_present_arguments && that_present_arguments)) return false; - if (!this.arguments.equals(that.arguments)) return false; - } - - boolean this_present_examples = true && this.isSetExamples(); - boolean that_present_examples = true && that.isSetExamples(); - if (this_present_examples || that_present_examples) { - if (!(this_present_examples && that_present_examples)) return false; - if (!this.examples.equals(that.examples)) return false; - } - - boolean this_present_note = true && this.isSetNote(); - boolean that_present_note = true && that.isSetNote(); - if (this_present_note || that_present_note) { - if (!(this_present_note && that_present_note)) return false; - if (!this.note.equals(that.note)) return false; - } - - boolean this_present_group = true && this.isSetGroup(); - boolean that_present_group = true && that.isSetGroup(); - if (this_present_group || that_present_group) { - if (!(this_present_group && that_present_group)) return false; - if (!this.group.equals(that.group)) return false; - } - - boolean this_present_since = true && this.isSetSince(); - boolean that_present_since = true && that.isSetSince(); - if (this_present_since || that_present_since) { - if (!(this_present_since && that_present_since)) return false; - if (!this.since.equals(that.since)) return false; - } - - boolean this_present_deprecated = true && this.isSetDeprecated(); - boolean that_present_deprecated = true && that.isSetDeprecated(); - if (this_present_deprecated || that_present_deprecated) { - if (!(this_present_deprecated && that_present_deprecated)) return false; - if (!this.deprecated.equals(that.deprecated)) return false; - } - - boolean this_present_source = true && this.isSetSource(); - boolean that_present_source = true && that.isSetSource(); - if (this_present_source || that_present_source) { - if (!(this_present_source && that_present_source)) return false; - if (!this.source.equals(that.source)) return false; - } - - return true; - } - - @Override - public int hashCode() { - int hashCode = 1; - - hashCode = hashCode * 8191 + ((isSetClassName()) ? 131071 : 524287); - if (isSetClassName()) hashCode = hashCode * 8191 + className.hashCode(); - - hashCode = hashCode * 8191 + ((isSetUsage()) ? 131071 : 524287); - if (isSetUsage()) hashCode = hashCode * 8191 + usage.hashCode(); - - hashCode = hashCode * 8191 + ((isSetName()) ? 131071 : 524287); - if (isSetName()) hashCode = hashCode * 8191 + name.hashCode(); - - hashCode = hashCode * 8191 + ((isSetExtended()) ? 131071 : 524287); - if (isSetExtended()) hashCode = hashCode * 8191 + extended.hashCode(); - - hashCode = hashCode * 8191 + ((isSetDb()) ? 131071 : 524287); - if (isSetDb()) hashCode = hashCode * 8191 + db.hashCode(); - - hashCode = hashCode * 8191 + ((isSetArguments()) ? 131071 : 524287); - if (isSetArguments()) hashCode = hashCode * 8191 + arguments.hashCode(); - - hashCode = hashCode * 8191 + ((isSetExamples()) ? 131071 : 524287); - if (isSetExamples()) hashCode = hashCode * 8191 + examples.hashCode(); - - hashCode = hashCode * 8191 + ((isSetNote()) ? 131071 : 524287); - if (isSetNote()) hashCode = hashCode * 8191 + note.hashCode(); - - hashCode = hashCode * 8191 + ((isSetGroup()) ? 131071 : 524287); - if (isSetGroup()) hashCode = hashCode * 8191 + group.hashCode(); - - hashCode = hashCode * 8191 + ((isSetSince()) ? 131071 : 524287); - if (isSetSince()) hashCode = hashCode * 8191 + since.hashCode(); - - hashCode = hashCode * 8191 + ((isSetDeprecated()) ? 131071 : 524287); - if (isSetDeprecated()) hashCode = hashCode * 8191 + deprecated.hashCode(); - - hashCode = hashCode * 8191 + ((isSetSource()) ? 131071 : 524287); - if (isSetSource()) hashCode = hashCode * 8191 + source.hashCode(); - - return hashCode; - } - - @Override - public int compareTo(TExpressionInfo other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); - } - - int lastComparison = 0; - - lastComparison = java.lang.Boolean.compare(isSetClassName(), other.isSetClassName()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetClassName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.className, other.className); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetUsage(), other.isSetUsage()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetUsage()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.usage, other.usage); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetName(), other.isSetName()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, other.name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetExtended(), other.isSetExtended()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetExtended()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.extended, other.extended); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetDb(), other.isSetDb()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetDb()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db, other.db); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetArguments(), other.isSetArguments()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetArguments()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.arguments, other.arguments); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetExamples(), other.isSetExamples()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetExamples()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.examples, other.examples); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetNote(), other.isSetNote()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetNote()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.note, other.note); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetGroup(), other.isSetGroup()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetGroup()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.group, other.group); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetSince(), other.isSetSince()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetSince()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.since, other.since); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetDeprecated(), other.isSetDeprecated()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetDeprecated()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.deprecated, other.deprecated); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetSource(), other.isSetSource()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetSource()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.source, other.source); - if (lastComparison != 0) { - return lastComparison; - } - } - return 0; - } - - @org.apache.thrift.annotation.Nullable - @Override - public _Fields fieldForId(int fieldId) { - return _Fields.findByThriftId(fieldId); - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { - scheme(iprot).read(iprot, this); - } - - @Override - public void write(org.apache.thrift.protocol.TProtocol oprot) - throws org.apache.thrift.TException { - scheme(oprot).write(oprot, this); - } - - @Override - public java.lang.String toString() { - java.lang.StringBuilder sb = new java.lang.StringBuilder("TExpressionInfo("); - boolean first = true; - - if (isSetClassName()) { - sb.append("className:"); - if (this.className == null) { - sb.append("null"); - } else { - sb.append(this.className); - } - first = false; - } - if (isSetUsage()) { - if (!first) sb.append(", "); - sb.append("usage:"); - if (this.usage == null) { - sb.append("null"); - } else { - sb.append(this.usage); - } - first = false; - } - if (isSetName()) { - if (!first) sb.append(", "); - sb.append("name:"); - if (this.name == null) { - sb.append("null"); - } else { - sb.append(this.name); - } - first = false; - } - if (isSetExtended()) { - if (!first) sb.append(", "); - sb.append("extended:"); - if (this.extended == null) { - sb.append("null"); - } else { - sb.append(this.extended); - } - first = false; - } - if (isSetDb()) { - if (!first) sb.append(", "); - sb.append("db:"); - if (this.db == null) { - sb.append("null"); - } else { - sb.append(this.db); - } - first = false; - } - if (isSetArguments()) { - if (!first) sb.append(", "); - sb.append("arguments:"); - if (this.arguments == null) { - sb.append("null"); - } else { - sb.append(this.arguments); - } - first = false; - } - if (isSetExamples()) { - if (!first) sb.append(", "); - sb.append("examples:"); - if (this.examples == null) { - sb.append("null"); - } else { - sb.append(this.examples); - } - first = false; - } - if (isSetNote()) { - if (!first) sb.append(", "); - sb.append("note:"); - if (this.note == null) { - sb.append("null"); - } else { - sb.append(this.note); - } - first = false; - } - if (isSetGroup()) { - if (!first) sb.append(", "); - sb.append("group:"); - if (this.group == null) { - sb.append("null"); - } else { - sb.append(this.group); - } - first = false; - } - if (isSetSince()) { - if (!first) sb.append(", "); - sb.append("since:"); - if (this.since == null) { - sb.append("null"); - } else { - sb.append(this.since); - } - first = false; - } - if (isSetDeprecated()) { - if (!first) sb.append(", "); - sb.append("deprecated:"); - if (this.deprecated == null) { - sb.append("null"); - } else { - sb.append(this.deprecated); - } - first = false; - } - if (isSetSource()) { - if (!first) sb.append(", "); - sb.append("source:"); - if (this.source == null) { - sb.append("null"); - } else { - sb.append(this.source); - } - 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, java.lang.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 TExpressionInfoStandardSchemeFactory - implements org.apache.thrift.scheme.SchemeFactory { - @Override - public TExpressionInfoStandardScheme getScheme() { - return new TExpressionInfoStandardScheme(); - } - } - - private static class TExpressionInfoStandardScheme - extends org.apache.thrift.scheme.StandardScheme { - - @Override - public void read(org.apache.thrift.protocol.TProtocol iprot, TExpressionInfo 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: // CLASS_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.className = iprot.readString(); - struct.setClassNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // USAGE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.usage = iprot.readString(); - struct.setUsageIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.name = iprot.readString(); - struct.setNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // EXTENDED - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.extended = iprot.readString(); - struct.setExtendedIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // DB - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.db = iprot.readString(); - struct.setDbIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // ARGUMENTS - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.arguments = iprot.readString(); - struct.setArgumentsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 7: // EXAMPLES - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.examples = iprot.readString(); - struct.setExamplesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 8: // NOTE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.note = iprot.readString(); - struct.setNoteIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 9: // GROUP - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.group = iprot.readString(); - struct.setGroupIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 10: // SINCE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.since = iprot.readString(); - struct.setSinceIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 11: // DEPRECATED - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.deprecated = iprot.readString(); - struct.setDeprecatedIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 12: // SOURCE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.source = iprot.readString(); - struct.setSourceIsSet(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(); - } - - @Override - public void write(org.apache.thrift.protocol.TProtocol oprot, TExpressionInfo struct) - throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (struct.className != null) { - if (struct.isSetClassName()) { - oprot.writeFieldBegin(CLASS_NAME_FIELD_DESC); - oprot.writeString(struct.className); - oprot.writeFieldEnd(); - } - } - if (struct.usage != null) { - if (struct.isSetUsage()) { - oprot.writeFieldBegin(USAGE_FIELD_DESC); - oprot.writeString(struct.usage); - oprot.writeFieldEnd(); - } - } - if (struct.name != null) { - if (struct.isSetName()) { - oprot.writeFieldBegin(NAME_FIELD_DESC); - oprot.writeString(struct.name); - oprot.writeFieldEnd(); - } - } - if (struct.extended != null) { - if (struct.isSetExtended()) { - oprot.writeFieldBegin(EXTENDED_FIELD_DESC); - oprot.writeString(struct.extended); - oprot.writeFieldEnd(); - } - } - if (struct.db != null) { - if (struct.isSetDb()) { - oprot.writeFieldBegin(DB_FIELD_DESC); - oprot.writeString(struct.db); - oprot.writeFieldEnd(); - } - } - if (struct.arguments != null) { - if (struct.isSetArguments()) { - oprot.writeFieldBegin(ARGUMENTS_FIELD_DESC); - oprot.writeString(struct.arguments); - oprot.writeFieldEnd(); - } - } - if (struct.examples != null) { - if (struct.isSetExamples()) { - oprot.writeFieldBegin(EXAMPLES_FIELD_DESC); - oprot.writeString(struct.examples); - oprot.writeFieldEnd(); - } - } - if (struct.note != null) { - if (struct.isSetNote()) { - oprot.writeFieldBegin(NOTE_FIELD_DESC); - oprot.writeString(struct.note); - oprot.writeFieldEnd(); - } - } - if (struct.group != null) { - if (struct.isSetGroup()) { - oprot.writeFieldBegin(GROUP_FIELD_DESC); - oprot.writeString(struct.group); - oprot.writeFieldEnd(); - } - } - if (struct.since != null) { - if (struct.isSetSince()) { - oprot.writeFieldBegin(SINCE_FIELD_DESC); - oprot.writeString(struct.since); - oprot.writeFieldEnd(); - } - } - if (struct.deprecated != null) { - if (struct.isSetDeprecated()) { - oprot.writeFieldBegin(DEPRECATED_FIELD_DESC); - oprot.writeString(struct.deprecated); - oprot.writeFieldEnd(); - } - } - if (struct.source != null) { - if (struct.isSetSource()) { - oprot.writeFieldBegin(SOURCE_FIELD_DESC); - oprot.writeString(struct.source); - oprot.writeFieldEnd(); - } - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - } - - private static class TExpressionInfoTupleSchemeFactory - implements org.apache.thrift.scheme.SchemeFactory { - @Override - public TExpressionInfoTupleScheme getScheme() { - return new TExpressionInfoTupleScheme(); - } - } - - private static class TExpressionInfoTupleScheme - extends org.apache.thrift.scheme.TupleScheme { - - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TExpressionInfo struct) - throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = - (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet optionals = new java.util.BitSet(); - if (struct.isSetClassName()) { - optionals.set(0); - } - if (struct.isSetUsage()) { - optionals.set(1); - } - if (struct.isSetName()) { - optionals.set(2); - } - if (struct.isSetExtended()) { - optionals.set(3); - } - if (struct.isSetDb()) { - optionals.set(4); - } - if (struct.isSetArguments()) { - optionals.set(5); - } - if (struct.isSetExamples()) { - optionals.set(6); - } - if (struct.isSetNote()) { - optionals.set(7); - } - if (struct.isSetGroup()) { - optionals.set(8); - } - if (struct.isSetSince()) { - optionals.set(9); - } - if (struct.isSetDeprecated()) { - optionals.set(10); - } - if (struct.isSetSource()) { - optionals.set(11); - } - oprot.writeBitSet(optionals, 12); - if (struct.isSetClassName()) { - oprot.writeString(struct.className); - } - if (struct.isSetUsage()) { - oprot.writeString(struct.usage); - } - if (struct.isSetName()) { - oprot.writeString(struct.name); - } - if (struct.isSetExtended()) { - oprot.writeString(struct.extended); - } - if (struct.isSetDb()) { - oprot.writeString(struct.db); - } - if (struct.isSetArguments()) { - oprot.writeString(struct.arguments); - } - if (struct.isSetExamples()) { - oprot.writeString(struct.examples); - } - if (struct.isSetNote()) { - oprot.writeString(struct.note); - } - if (struct.isSetGroup()) { - oprot.writeString(struct.group); - } - if (struct.isSetSince()) { - oprot.writeString(struct.since); - } - if (struct.isSetDeprecated()) { - oprot.writeString(struct.deprecated); - } - if (struct.isSetSource()) { - oprot.writeString(struct.source); - } - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TExpressionInfo struct) - throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = - (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(12); - if (incoming.get(0)) { - struct.className = iprot.readString(); - struct.setClassNameIsSet(true); - } - if (incoming.get(1)) { - struct.usage = iprot.readString(); - struct.setUsageIsSet(true); - } - if (incoming.get(2)) { - struct.name = iprot.readString(); - struct.setNameIsSet(true); - } - if (incoming.get(3)) { - struct.extended = iprot.readString(); - struct.setExtendedIsSet(true); - } - if (incoming.get(4)) { - struct.db = iprot.readString(); - struct.setDbIsSet(true); - } - if (incoming.get(5)) { - struct.arguments = iprot.readString(); - struct.setArgumentsIsSet(true); - } - if (incoming.get(6)) { - struct.examples = iprot.readString(); - struct.setExamplesIsSet(true); - } - if (incoming.get(7)) { - struct.note = iprot.readString(); - struct.setNoteIsSet(true); - } - if (incoming.get(8)) { - struct.group = iprot.readString(); - struct.setGroupIsSet(true); - } - if (incoming.get(9)) { - struct.since = iprot.readString(); - struct.setSinceIsSet(true); - } - if (incoming.get(10)) { - struct.deprecated = iprot.readString(); - struct.setDeprecatedIsSet(true); - } - if (incoming.get(11)) { - struct.source = iprot.readString(); - struct.setSourceIsSet(true); - } - } - } - - private static S scheme( - org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) - ? STANDARD_SCHEME_FACTORY - : TUPLE_SCHEME_FACTORY) - .getScheme(); - } -} diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TFetchOrientation.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TFetchOrientation.java index 50506bbe49..7d38060767 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TFetchOrientation.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TFetchOrientation.java @@ -9,7 +9,7 @@ @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public enum TFetchOrientation implements org.apache.thrift.TEnum { FETCH_NEXT(0), FETCH_PRIOR(1), diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TFetchResultsReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TFetchResultsReq.java index d354393517..9e6878a6fd 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TFetchResultsReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TFetchResultsReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TFetchResultsReq implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TFetchResultsResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TFetchResultsResp.java index aec47ad978..aff621c088 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TFetchResultsResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TFetchResultsResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TFetchResultsResp implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetCatalogsReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetCatalogsReq.java index 00f4c210a6..f5307f9cde 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetCatalogsReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetCatalogsReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetCatalogsReq implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetCatalogsResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetCatalogsResp.java index a2ec4851f4..41966f5ba9 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetCatalogsResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetCatalogsResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetCatalogsResp implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetColumnsReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetColumnsReq.java index 7354771c6d..07a2a36ac6 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetColumnsReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetColumnsReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetColumnsReq implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetColumnsResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetColumnsResp.java index 2c061b451e..bf96b44ceb 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetColumnsResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetColumnsResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetColumnsResp implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetCrossReferenceReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetCrossReferenceReq.java index 9bfb12ea67..4ccc3e12a7 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetCrossReferenceReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetCrossReferenceReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetCrossReferenceReq implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetCrossReferenceResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetCrossReferenceResp.java index 2fe3e4f9a3..28d7e17caa 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetCrossReferenceResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetCrossReferenceResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetCrossReferenceResp implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetDelegationTokenReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetDelegationTokenReq.java index 259a4c52c2..1002db66df 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetDelegationTokenReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetDelegationTokenReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetDelegationTokenReq implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetDelegationTokenResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetDelegationTokenResp.java index 3b4aaabbd6..fe1bdffdf8 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetDelegationTokenResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetDelegationTokenResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetDelegationTokenResp implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetFunctionsReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetFunctionsReq.java index 422811f7df..317fe29ede 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetFunctionsReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetFunctionsReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetFunctionsReq implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetFunctionsResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetFunctionsResp.java index d5b81b0da4..046e9043c7 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetFunctionsResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetFunctionsResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetFunctionsResp implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetInfoReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetInfoReq.java index 7a10c89083..5272482b94 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetInfoReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetInfoReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetInfoReq implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetInfoResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetInfoResp.java index 56730aef61..fc75c15a70 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetInfoResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetInfoResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetInfoResp implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetInfoType.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetInfoType.java index 046783405d..1fdc809b0f 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetInfoType.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetInfoType.java @@ -9,7 +9,7 @@ @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public enum TGetInfoType implements org.apache.thrift.TEnum { CLI_MAX_DRIVER_CONNECTIONS(0), CLI_MAX_CONCURRENT_ACTIVITIES(1), diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetInfoValue.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetInfoValue.java index 29b429ed8a..bed9e14c50 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetInfoValue.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetInfoValue.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetInfoValue extends org.apache.thrift.TUnion { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TGetInfoValue"); diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetOperationStatusReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetOperationStatusReq.java index 9598412879..5654bb4480 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetOperationStatusReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetOperationStatusReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetOperationStatusReq implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetOperationStatusResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetOperationStatusResp.java index a6464e8e28..b1fef7e7f2 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetOperationStatusResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetOperationStatusResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetOperationStatusResp implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetPrimaryKeysReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetPrimaryKeysReq.java index 1752543cc6..48f66c0cd2 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetPrimaryKeysReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetPrimaryKeysReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetPrimaryKeysReq implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetPrimaryKeysResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetPrimaryKeysResp.java index 58cfe2ddd0..219da8dc0e 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetPrimaryKeysResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetPrimaryKeysResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetPrimaryKeysResp implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetResultSetMetadataReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetResultSetMetadataReq.java index 7fa6bc284b..1b4cf126e8 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetResultSetMetadataReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetResultSetMetadataReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetResultSetMetadataReq implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetResultSetMetadataResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetResultSetMetadataResp.java index bafbc11368..a0203ce714 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetResultSetMetadataResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetResultSetMetadataResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetResultSetMetadataResp implements org.apache.thrift.TBase< TGetResultSetMetadataResp, TGetResultSetMetadataResp._Fields>, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetSchemasReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetSchemasReq.java index d15ff49262..2fb9e12dcb 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetSchemasReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetSchemasReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetSchemasReq implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetSchemasResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetSchemasResp.java index af35d5296b..66d9c62822 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetSchemasResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetSchemasResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetSchemasResp implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTableTypesReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTableTypesReq.java index d1172526ff..1db6de60a1 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTableTypesReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTableTypesReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetTableTypesReq implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTableTypesResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTableTypesResp.java index a7d0e61920..8ed040ae23 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTableTypesResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTableTypesResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetTableTypesResp implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTablesReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTablesReq.java index 7c581edb12..c557202850 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTablesReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTablesReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetTablesReq implements org.apache.thrift.TBase, java.io.Serializable, @@ -934,12 +934,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TGetTablesReq struc case 5: // TABLE_TYPES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list312 = iprot.readListBegin(); - struct.tableTypes = new java.util.ArrayList(_list312.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem313; - for (int _i314 = 0; _i314 < _list312.size; ++_i314) { - _elem313 = iprot.readString(); - struct.tableTypes.add(_elem313); + org.apache.thrift.protocol.TList _list248 = iprot.readListBegin(); + struct.tableTypes = new java.util.ArrayList(_list248.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem249; + for (int _i250 = 0; _i250 < _list248.size; ++_i250) { + _elem249 = iprot.readString(); + struct.tableTypes.add(_elem249); } iprot.readListEnd(); } @@ -1015,8 +1015,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TGetTablesReq stru oprot.writeListBegin( new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.tableTypes.size())); - for (java.lang.String _iter315 : struct.tableTypes) { - oprot.writeString(_iter315); + for (java.lang.String _iter251 : struct.tableTypes) { + oprot.writeString(_iter251); } oprot.writeListEnd(); } @@ -1089,8 +1089,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TGetTablesReq struc if (struct.isSetTableTypes()) { { oprot.writeI32(struct.tableTypes.size()); - for (java.lang.String _iter316 : struct.tableTypes) { - oprot.writeString(_iter316); + for (java.lang.String _iter252 : struct.tableTypes) { + oprot.writeString(_iter252); } } } @@ -1125,13 +1125,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TGetTablesReq struct } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list317 = + org.apache.thrift.protocol.TList _list253 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.tableTypes = new java.util.ArrayList(_list317.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem318; - for (int _i319 = 0; _i319 < _list317.size; ++_i319) { - _elem318 = iprot.readString(); - struct.tableTypes.add(_elem318); + struct.tableTypes = new java.util.ArrayList(_list253.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem254; + for (int _i255 = 0; _i255 < _list253.size; ++_i255) { + _elem254 = iprot.readString(); + struct.tableTypes.add(_elem254); } } struct.setTableTypesIsSet(true); diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTablesResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTablesResp.java index cbc1faea82..9ee4446a82 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTablesResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTablesResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetTablesResp implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTypeInfoReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTypeInfoReq.java index ed01ae1481..457cfb1ec5 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTypeInfoReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTypeInfoReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetTypeInfoReq implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTypeInfoResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTypeInfoResp.java index 71fc953284..4eb2067109 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTypeInfoResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TGetTypeInfoResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TGetTypeInfoResp implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/THandleIdentifier.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/THandleIdentifier.java index 96a2459684..36b60accd3 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/THandleIdentifier.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/THandleIdentifier.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class THandleIdentifier implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI16Column.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI16Column.java index 9aad508e93..d32501dcf6 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI16Column.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI16Column.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TI16Column implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI16Value.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI16Value.java index eaa32cd9a8..606ba72f09 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI16Value.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI16Value.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TI16Value implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI32Column.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI32Column.java index 82a48853da..fe3090f851 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI32Column.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI32Column.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TI32Column implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI32Value.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI32Value.java index 5f2546837c..5ae261144a 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI32Value.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI32Value.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TI32Value implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI64Column.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI64Column.java index 2c5153a07c..37ab82f219 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI64Column.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI64Column.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TI64Column implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI64Value.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI64Value.java index 5f0ae053a8..7419d93322 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI64Value.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TI64Value.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TI64Value implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TJobExecutionStatus.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TJobExecutionStatus.java index 1abc843245..ae4dc09775 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TJobExecutionStatus.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TJobExecutionStatus.java @@ -9,7 +9,7 @@ @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public enum TJobExecutionStatus implements org.apache.thrift.TEnum { IN_PROGRESS(0), COMPLETE(1), diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TMapTypeEntry.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TMapTypeEntry.java index 208374f72c..c1cd6d796c 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TMapTypeEntry.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TMapTypeEntry.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TMapTypeEntry implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TNamespace.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TNamespace.java index 1f509cd3fd..7a67e1ce45 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TNamespace.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TNamespace.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TNamespace implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOpenSessionReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOpenSessionReq.java index 51192cce39..f6c99de9b3 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOpenSessionReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOpenSessionReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TOpenSessionReq implements org.apache.thrift.TBase, java.io.Serializable, @@ -1177,15 +1177,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TOpenSessionReq str case 4: // CONFIGURATION if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map232 = iprot.readMapBegin(); + org.apache.thrift.protocol.TMap _map168 = iprot.readMapBegin(); struct.configuration = - new java.util.HashMap(2 * _map232.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key233; - @org.apache.thrift.annotation.Nullable java.lang.String _val234; - for (int _i235 = 0; _i235 < _map232.size; ++_i235) { - _key233 = iprot.readString(); - _val234 = iprot.readString(); - struct.configuration.put(_key233, _val234); + new java.util.HashMap(2 * _map168.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key169; + @org.apache.thrift.annotation.Nullable java.lang.String _val170; + for (int _i171 = 0; _i171 < _map168.size; ++_i171) { + _key169 = iprot.readString(); + _val170 = iprot.readString(); + struct.configuration.put(_key169, _val170); } iprot.readMapEnd(); } @@ -1197,15 +1197,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TOpenSessionReq str case 1281: // GET_INFOS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list236 = iprot.readListBegin(); - struct.getInfos = new java.util.ArrayList(_list236.size); - @org.apache.thrift.annotation.Nullable TGetInfoType _elem237; - for (int _i238 = 0; _i238 < _list236.size; ++_i238) { - _elem237 = + org.apache.thrift.protocol.TList _list172 = iprot.readListBegin(); + struct.getInfos = new java.util.ArrayList(_list172.size); + @org.apache.thrift.annotation.Nullable TGetInfoType _elem173; + for (int _i174 = 0; _i174 < _list172.size; ++_i174) { + _elem173 = com.databricks.jdbc.model.client.thrift.generated.TGetInfoType.findByValue( iprot.readI32()); - if (_elem237 != null) { - struct.getInfos.add(_elem237); + if (_elem173 != null) { + struct.getInfos.add(_elem173); } } iprot.readListEnd(); @@ -1226,15 +1226,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TOpenSessionReq str case 1283: // CONNECTION_PROPERTIES if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map239 = iprot.readMapBegin(); + org.apache.thrift.protocol.TMap _map175 = iprot.readMapBegin(); struct.connectionProperties = - new java.util.HashMap(2 * _map239.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key240; - @org.apache.thrift.annotation.Nullable java.lang.String _val241; - for (int _i242 = 0; _i242 < _map239.size; ++_i242) { - _key240 = iprot.readString(); - _val241 = iprot.readString(); - struct.connectionProperties.put(_key240, _val241); + new java.util.HashMap(2 * _map175.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key176; + @org.apache.thrift.annotation.Nullable java.lang.String _val177; + for (int _i178 = 0; _i178 < _map175.size; ++_i178) { + _key176 = iprot.readString(); + _val177 = iprot.readString(); + struct.connectionProperties.put(_key176, _val177); } iprot.readMapEnd(); } @@ -1307,10 +1307,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TOpenSessionReq st org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.configuration.size())); - for (java.util.Map.Entry _iter243 : + for (java.util.Map.Entry _iter179 : struct.configuration.entrySet()) { - oprot.writeString(_iter243.getKey()); - oprot.writeString(_iter243.getValue()); + oprot.writeString(_iter179.getKey()); + oprot.writeString(_iter179.getValue()); } oprot.writeMapEnd(); } @@ -1324,8 +1324,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TOpenSessionReq st oprot.writeListBegin( new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.I32, struct.getInfos.size())); - for (TGetInfoType _iter244 : struct.getInfos) { - oprot.writeI32(_iter244.getValue()); + for (TGetInfoType _iter180 : struct.getInfos) { + oprot.writeI32(_iter180.getValue()); } oprot.writeListEnd(); } @@ -1346,10 +1346,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TOpenSessionReq st org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.connectionProperties.size())); - for (java.util.Map.Entry _iter245 : + for (java.util.Map.Entry _iter181 : struct.connectionProperties.entrySet()) { - oprot.writeString(_iter245.getKey()); - oprot.writeString(_iter245.getValue()); + oprot.writeString(_iter181.getKey()); + oprot.writeString(_iter181.getValue()); } oprot.writeMapEnd(); } @@ -1430,18 +1430,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TOpenSessionReq str if (struct.isSetConfiguration()) { { oprot.writeI32(struct.configuration.size()); - for (java.util.Map.Entry _iter246 : + for (java.util.Map.Entry _iter182 : struct.configuration.entrySet()) { - oprot.writeString(_iter246.getKey()); - oprot.writeString(_iter246.getValue()); + oprot.writeString(_iter182.getKey()); + oprot.writeString(_iter182.getValue()); } } } if (struct.isSetGetInfos()) { { oprot.writeI32(struct.getInfos.size()); - for (TGetInfoType _iter247 : struct.getInfos) { - oprot.writeI32(_iter247.getValue()); + for (TGetInfoType _iter183 : struct.getInfos) { + oprot.writeI32(_iter183.getValue()); } } } @@ -1451,10 +1451,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TOpenSessionReq str if (struct.isSetConnectionProperties()) { { oprot.writeI32(struct.connectionProperties.size()); - for (java.util.Map.Entry _iter248 : + for (java.util.Map.Entry _iter184 : struct.connectionProperties.entrySet()) { - oprot.writeString(_iter248.getKey()); - oprot.writeString(_iter248.getValue()); + oprot.writeString(_iter184.getKey()); + oprot.writeString(_iter184.getValue()); } } } @@ -1488,33 +1488,33 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TOpenSessionReq stru } if (incoming.get(3)) { { - org.apache.thrift.protocol.TMap _map249 = + org.apache.thrift.protocol.TMap _map185 = iprot.readMapBegin( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.configuration = - new java.util.HashMap(2 * _map249.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key250; - @org.apache.thrift.annotation.Nullable java.lang.String _val251; - for (int _i252 = 0; _i252 < _map249.size; ++_i252) { - _key250 = iprot.readString(); - _val251 = iprot.readString(); - struct.configuration.put(_key250, _val251); + new java.util.HashMap(2 * _map185.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key186; + @org.apache.thrift.annotation.Nullable java.lang.String _val187; + for (int _i188 = 0; _i188 < _map185.size; ++_i188) { + _key186 = iprot.readString(); + _val187 = iprot.readString(); + struct.configuration.put(_key186, _val187); } } struct.setConfigurationIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list253 = + org.apache.thrift.protocol.TList _list189 = iprot.readListBegin(org.apache.thrift.protocol.TType.I32); - struct.getInfos = new java.util.ArrayList(_list253.size); - @org.apache.thrift.annotation.Nullable TGetInfoType _elem254; - for (int _i255 = 0; _i255 < _list253.size; ++_i255) { - _elem254 = + struct.getInfos = new java.util.ArrayList(_list189.size); + @org.apache.thrift.annotation.Nullable TGetInfoType _elem190; + for (int _i191 = 0; _i191 < _list189.size; ++_i191) { + _elem190 = com.databricks.jdbc.model.client.thrift.generated.TGetInfoType.findByValue( iprot.readI32()); - if (_elem254 != null) { - struct.getInfos.add(_elem254); + if (_elem190 != null) { + struct.getInfos.add(_elem190); } } } @@ -1526,17 +1526,17 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TOpenSessionReq stru } if (incoming.get(6)) { { - org.apache.thrift.protocol.TMap _map256 = + org.apache.thrift.protocol.TMap _map192 = iprot.readMapBegin( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.connectionProperties = - new java.util.HashMap(2 * _map256.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key257; - @org.apache.thrift.annotation.Nullable java.lang.String _val258; - for (int _i259 = 0; _i259 < _map256.size; ++_i259) { - _key257 = iprot.readString(); - _val258 = iprot.readString(); - struct.connectionProperties.put(_key257, _val258); + new java.util.HashMap(2 * _map192.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key193; + @org.apache.thrift.annotation.Nullable java.lang.String _val194; + for (int _i195 = 0; _i195 < _map192.size; ++_i195) { + _key193 = iprot.readString(); + _val194 = iprot.readString(); + struct.connectionProperties.put(_key193, _val194); } } struct.setConnectionPropertiesIsSet(true); diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOpenSessionResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOpenSessionResp.java index e16940cb78..d28b4d2d30 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOpenSessionResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOpenSessionResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TOpenSessionResp implements org.apache.thrift.TBase, java.io.Serializable, @@ -986,15 +986,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TOpenSessionResp st case 4: // CONFIGURATION if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map260 = iprot.readMapBegin(); + org.apache.thrift.protocol.TMap _map196 = iprot.readMapBegin(); struct.configuration = - new java.util.HashMap(2 * _map260.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key261; - @org.apache.thrift.annotation.Nullable java.lang.String _val262; - for (int _i263 = 0; _i263 < _map260.size; ++_i263) { - _key261 = iprot.readString(); - _val262 = iprot.readString(); - struct.configuration.put(_key261, _val262); + new java.util.HashMap(2 * _map196.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key197; + @org.apache.thrift.annotation.Nullable java.lang.String _val198; + for (int _i199 = 0; _i199 < _map196.size; ++_i199) { + _key197 = iprot.readString(); + _val198 = iprot.readString(); + struct.configuration.put(_key197, _val198); } iprot.readMapEnd(); } @@ -1023,13 +1023,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TOpenSessionResp st case 1281: // GET_INFOS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list264 = iprot.readListBegin(); - struct.getInfos = new java.util.ArrayList(_list264.size); - @org.apache.thrift.annotation.Nullable TGetInfoValue _elem265; - for (int _i266 = 0; _i266 < _list264.size; ++_i266) { - _elem265 = new TGetInfoValue(); - _elem265.read(iprot); - struct.getInfos.add(_elem265); + org.apache.thrift.protocol.TList _list200 = iprot.readListBegin(); + struct.getInfos = new java.util.ArrayList(_list200.size); + @org.apache.thrift.annotation.Nullable TGetInfoValue _elem201; + for (int _i202 = 0; _i202 < _list200.size; ++_i202) { + _elem201 = new TGetInfoValue(); + _elem201.read(iprot); + struct.getInfos.add(_elem201); } iprot.readListEnd(); } @@ -1081,10 +1081,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TOpenSessionResp s org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.configuration.size())); - for (java.util.Map.Entry _iter267 : + for (java.util.Map.Entry _iter203 : struct.configuration.entrySet()) { - oprot.writeString(_iter267.getKey()); - oprot.writeString(_iter267.getValue()); + oprot.writeString(_iter203.getKey()); + oprot.writeString(_iter203.getValue()); } oprot.writeMapEnd(); } @@ -1098,8 +1098,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TOpenSessionResp s oprot.writeListBegin( new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, struct.getInfos.size())); - for (TGetInfoValue _iter268 : struct.getInfos) { - _iter268.write(oprot); + for (TGetInfoValue _iter204 : struct.getInfos) { + _iter204.write(oprot); } oprot.writeListEnd(); } @@ -1164,10 +1164,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TOpenSessionResp st if (struct.isSetConfiguration()) { { oprot.writeI32(struct.configuration.size()); - for (java.util.Map.Entry _iter269 : + for (java.util.Map.Entry _iter205 : struct.configuration.entrySet()) { - oprot.writeString(_iter269.getKey()); - oprot.writeString(_iter269.getValue()); + oprot.writeString(_iter205.getKey()); + oprot.writeString(_iter205.getValue()); } } } @@ -1180,8 +1180,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TOpenSessionResp st if (struct.isSetGetInfos()) { { oprot.writeI32(struct.getInfos.size()); - for (TGetInfoValue _iter270 : struct.getInfos) { - _iter270.write(oprot); + for (TGetInfoValue _iter206 : struct.getInfos) { + _iter206.write(oprot); } } } @@ -1207,17 +1207,17 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TOpenSessionResp str } if (incoming.get(1)) { { - org.apache.thrift.protocol.TMap _map271 = + org.apache.thrift.protocol.TMap _map207 = iprot.readMapBegin( org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING); struct.configuration = - new java.util.HashMap(2 * _map271.size); - @org.apache.thrift.annotation.Nullable java.lang.String _key272; - @org.apache.thrift.annotation.Nullable java.lang.String _val273; - for (int _i274 = 0; _i274 < _map271.size; ++_i274) { - _key272 = iprot.readString(); - _val273 = iprot.readString(); - struct.configuration.put(_key272, _val273); + new java.util.HashMap(2 * _map207.size); + @org.apache.thrift.annotation.Nullable java.lang.String _key208; + @org.apache.thrift.annotation.Nullable java.lang.String _val209; + for (int _i210 = 0; _i210 < _map207.size; ++_i210) { + _key208 = iprot.readString(); + _val209 = iprot.readString(); + struct.configuration.put(_key208, _val209); } } struct.setConfigurationIsSet(true); @@ -1233,14 +1233,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TOpenSessionResp str } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list275 = + org.apache.thrift.protocol.TList _list211 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.getInfos = new java.util.ArrayList(_list275.size); - @org.apache.thrift.annotation.Nullable TGetInfoValue _elem276; - for (int _i277 = 0; _i277 < _list275.size; ++_i277) { - _elem276 = new TGetInfoValue(); - _elem276.read(iprot); - struct.getInfos.add(_elem276); + struct.getInfos = new java.util.ArrayList(_list211.size); + @org.apache.thrift.annotation.Nullable TGetInfoValue _elem212; + for (int _i213 = 0; _i213 < _list211.size; ++_i213) { + _elem212 = new TGetInfoValue(); + _elem212.read(iprot); + struct.getInfos.add(_elem212); } } struct.setGetInfosIsSet(true); diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOperationHandle.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOperationHandle.java index 08da4ee450..fd1de32e29 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOperationHandle.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOperationHandle.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TOperationHandle implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOperationIdempotencyType.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOperationIdempotencyType.java deleted file mode 100644 index 5163fac5ba..0000000000 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOperationIdempotencyType.java +++ /dev/null @@ -1,48 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.19.0) - * - *

DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * - * @generated - */ -package com.databricks.jdbc.model.client.thrift.generated; - -@javax.annotation.Generated( - value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") -public enum TOperationIdempotencyType implements org.apache.thrift.TEnum { - UNKNOWN(0), - NON_IDEMPOTENT(1), - IDEMPOTENT(2); - - private final int value; - - private TOperationIdempotencyType(int value) { - this.value = value; - } - - /** Get the integer value of this enum value, as defined in the Thrift IDL. */ - @Override - public int getValue() { - return value; - } - - /** - * Find a the enum type by its integer value, as defined in the Thrift IDL. - * - * @return null if the value is not found. - */ - @org.apache.thrift.annotation.Nullable - public static TOperationIdempotencyType findByValue(int value) { - switch (value) { - case 0: - return UNKNOWN; - case 1: - return NON_IDEMPOTENT; - case 2: - return IDEMPOTENT; - default: - return null; - } - } -} diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOperationState.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOperationState.java index d723379971..16f77b55f3 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOperationState.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOperationState.java @@ -9,7 +9,7 @@ @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public enum TOperationState implements org.apache.thrift.TEnum { INITIALIZED_STATE(0), RUNNING_STATE(1), diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOperationTimeoutLevel.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOperationTimeoutLevel.java deleted file mode 100644 index 78341ce623..0000000000 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOperationTimeoutLevel.java +++ /dev/null @@ -1,45 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.19.0) - * - *

DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * - * @generated - */ -package com.databricks.jdbc.model.client.thrift.generated; - -@javax.annotation.Generated( - value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") -public enum TOperationTimeoutLevel implements org.apache.thrift.TEnum { - CLUSTER(0), - SESSION(1); - - private final int value; - - private TOperationTimeoutLevel(int value) { - this.value = value; - } - - /** Get the integer value of this enum value, as defined in the Thrift IDL. */ - @Override - public int getValue() { - return value; - } - - /** - * Find a the enum type by its integer value, as defined in the Thrift IDL. - * - * @return null if the value is not found. - */ - @org.apache.thrift.annotation.Nullable - public static TOperationTimeoutLevel findByValue(int value) { - switch (value) { - case 0: - return CLUSTER; - case 1: - return SESSION; - default: - return null; - } - } -} diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOperationType.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOperationType.java index c9710ca37e..93d047d644 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOperationType.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TOperationType.java @@ -9,7 +9,7 @@ @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public enum TOperationType implements org.apache.thrift.TEnum { EXECUTE_STATEMENT(0), GET_TYPE_INFO(1), diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TPrimitiveTypeEntry.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TPrimitiveTypeEntry.java index eda174aa50..a65ae105bf 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TPrimitiveTypeEntry.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TPrimitiveTypeEntry.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TPrimitiveTypeEntry implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TProgressUpdateResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TProgressUpdateResp.java index 245c214ca6..56909bd1af 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TProgressUpdateResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TProgressUpdateResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TProgressUpdateResp implements org.apache.thrift.TBase, java.io.Serializable, @@ -858,12 +858,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TProgressUpdateResp case 1: // HEADER_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list320 = iprot.readListBegin(); - struct.headerNames = new java.util.ArrayList(_list320.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem321; - for (int _i322 = 0; _i322 < _list320.size; ++_i322) { - _elem321 = iprot.readString(); - struct.headerNames.add(_elem321); + org.apache.thrift.protocol.TList _list256 = iprot.readListBegin(); + struct.headerNames = new java.util.ArrayList(_list256.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem257; + for (int _i258 = 0; _i258 < _list256.size; ++_i258) { + _elem257 = iprot.readString(); + struct.headerNames.add(_elem257); } iprot.readListEnd(); } @@ -875,22 +875,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TProgressUpdateResp case 2: // ROWS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list323 = iprot.readListBegin(); + org.apache.thrift.protocol.TList _list259 = iprot.readListBegin(); struct.rows = - new java.util.ArrayList>(_list323.size); - @org.apache.thrift.annotation.Nullable java.util.List _elem324; - for (int _i325 = 0; _i325 < _list323.size; ++_i325) { + new java.util.ArrayList>(_list259.size); + @org.apache.thrift.annotation.Nullable java.util.List _elem260; + for (int _i261 = 0; _i261 < _list259.size; ++_i261) { { - org.apache.thrift.protocol.TList _list326 = iprot.readListBegin(); - _elem324 = new java.util.ArrayList(_list326.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem327; - for (int _i328 = 0; _i328 < _list326.size; ++_i328) { - _elem327 = iprot.readString(); - _elem324.add(_elem327); + org.apache.thrift.protocol.TList _list262 = iprot.readListBegin(); + _elem260 = new java.util.ArrayList(_list262.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem263; + for (int _i264 = 0; _i264 < _list262.size; ++_i264) { + _elem263 = iprot.readString(); + _elem260.add(_elem263); } iprot.readListEnd(); } - struct.rows.add(_elem324); + struct.rows.add(_elem260); } iprot.readListEnd(); } @@ -965,8 +965,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TProgressUpdateRes oprot.writeListBegin( new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.headerNames.size())); - for (java.lang.String _iter329 : struct.headerNames) { - oprot.writeString(_iter329); + for (java.lang.String _iter265 : struct.headerNames) { + oprot.writeString(_iter265); } oprot.writeListEnd(); } @@ -978,13 +978,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TProgressUpdateRes oprot.writeListBegin( new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.LIST, struct.rows.size())); - for (java.util.List _iter330 : struct.rows) { + for (java.util.List _iter266 : struct.rows) { { oprot.writeListBegin( new org.apache.thrift.protocol.TList( - org.apache.thrift.protocol.TType.STRING, _iter330.size())); - for (java.lang.String _iter331 : _iter330) { - oprot.writeString(_iter331); + org.apache.thrift.protocol.TType.STRING, _iter266.size())); + for (java.lang.String _iter267 : _iter266) { + oprot.writeString(_iter267); } oprot.writeListEnd(); } @@ -1032,17 +1032,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TProgressUpdateResp (org.apache.thrift.protocol.TTupleProtocol) prot; { oprot.writeI32(struct.headerNames.size()); - for (java.lang.String _iter332 : struct.headerNames) { - oprot.writeString(_iter332); + for (java.lang.String _iter268 : struct.headerNames) { + oprot.writeString(_iter268); } } { oprot.writeI32(struct.rows.size()); - for (java.util.List _iter333 : struct.rows) { + for (java.util.List _iter269 : struct.rows) { { - oprot.writeI32(_iter333.size()); - for (java.lang.String _iter334 : _iter333) { - oprot.writeString(_iter334); + oprot.writeI32(_iter269.size()); + for (java.lang.String _iter270 : _iter269) { + oprot.writeString(_iter270); } } } @@ -1059,33 +1059,33 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TProgressUpdateResp org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list335 = + org.apache.thrift.protocol.TList _list271 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.headerNames = new java.util.ArrayList(_list335.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem336; - for (int _i337 = 0; _i337 < _list335.size; ++_i337) { - _elem336 = iprot.readString(); - struct.headerNames.add(_elem336); + struct.headerNames = new java.util.ArrayList(_list271.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem272; + for (int _i273 = 0; _i273 < _list271.size; ++_i273) { + _elem272 = iprot.readString(); + struct.headerNames.add(_elem272); } } struct.setHeaderNamesIsSet(true); { - org.apache.thrift.protocol.TList _list338 = + org.apache.thrift.protocol.TList _list274 = iprot.readListBegin(org.apache.thrift.protocol.TType.LIST); - struct.rows = new java.util.ArrayList>(_list338.size); - @org.apache.thrift.annotation.Nullable java.util.List _elem339; - for (int _i340 = 0; _i340 < _list338.size; ++_i340) { + struct.rows = new java.util.ArrayList>(_list274.size); + @org.apache.thrift.annotation.Nullable java.util.List _elem275; + for (int _i276 = 0; _i276 < _list274.size; ++_i276) { { - org.apache.thrift.protocol.TList _list341 = + org.apache.thrift.protocol.TList _list277 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - _elem339 = new java.util.ArrayList(_list341.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem342; - for (int _i343 = 0; _i343 < _list341.size; ++_i343) { - _elem342 = iprot.readString(); - _elem339.add(_elem342); + _elem275 = new java.util.ArrayList(_list277.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem278; + for (int _i279 = 0; _i279 < _list277.size; ++_i279) { + _elem278 = iprot.readString(); + _elem275.add(_elem278); } } - struct.rows.add(_elem339); + struct.rows.add(_elem275); } } struct.setRowsIsSet(true); diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TProtocolVersion.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TProtocolVersion.java index 83f5028535..92337d1070 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TProtocolVersion.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TProtocolVersion.java @@ -9,7 +9,7 @@ @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public enum TProtocolVersion implements org.apache.thrift.TEnum { __HIVE_JDBC_WORKAROUND(-7), __TEST_PROTOCOL_VERSION(65281), diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TRenewDelegationTokenReq.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TRenewDelegationTokenReq.java index b7d7ec1ccb..1a914aa651 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TRenewDelegationTokenReq.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TRenewDelegationTokenReq.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TRenewDelegationTokenReq implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TRenewDelegationTokenResp.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TRenewDelegationTokenResp.java index 567afdcb9f..bd0b508d9e 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TRenewDelegationTokenResp.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TRenewDelegationTokenResp.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TRenewDelegationTokenResp implements org.apache.thrift.TBase< TRenewDelegationTokenResp, TRenewDelegationTokenResp._Fields>, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TResultPersistenceMode.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TResultPersistenceMode.java deleted file mode 100644 index 9168f21fc5..0000000000 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TResultPersistenceMode.java +++ /dev/null @@ -1,48 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.19.0) - * - *

DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * - * @generated - */ -package com.databricks.jdbc.model.client.thrift.generated; - -@javax.annotation.Generated( - value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") -public enum TResultPersistenceMode implements org.apache.thrift.TEnum { - ONLY_LARGE_RESULTS(0), - ALL_QUERY_RESULTS(1), - ALL_RESULTS(2); - - private final int value; - - private TResultPersistenceMode(int value) { - this.value = value; - } - - /** Get the integer value of this enum value, as defined in the Thrift IDL. */ - @Override - public int getValue() { - return value; - } - - /** - * Find a the enum type by its integer value, as defined in the Thrift IDL. - * - * @return null if the value is not found. - */ - @org.apache.thrift.annotation.Nullable - public static TResultPersistenceMode findByValue(int value) { - switch (value) { - case 0: - return ONLY_LARGE_RESULTS; - case 1: - return ALL_QUERY_RESULTS; - case 2: - return ALL_RESULTS; - default: - return null; - } - } -} diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TRow.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TRow.java index 36d2959126..0e575af30d 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TRow.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TRow.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TRow implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TRowSet.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TRowSet.java index e75bd45444..60e6d2cf69 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TRowSet.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TRowSet.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TRowSet implements org.apache.thrift.TBase, java.io.Serializable, @@ -981,13 +981,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TRowSet struct) case 2: // ROWS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list138 = iprot.readListBegin(); - struct.rows = new java.util.ArrayList(_list138.size); - @org.apache.thrift.annotation.Nullable TRow _elem139; - for (int _i140 = 0; _i140 < _list138.size; ++_i140) { - _elem139 = new TRow(); - _elem139.read(iprot); - struct.rows.add(_elem139); + org.apache.thrift.protocol.TList _list128 = iprot.readListBegin(); + struct.rows = new java.util.ArrayList(_list128.size); + @org.apache.thrift.annotation.Nullable TRow _elem129; + for (int _i130 = 0; _i130 < _list128.size; ++_i130) { + _elem129 = new TRow(); + _elem129.read(iprot); + struct.rows.add(_elem129); } iprot.readListEnd(); } @@ -999,13 +999,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TRowSet struct) case 3: // COLUMNS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list141 = iprot.readListBegin(); - struct.columns = new java.util.ArrayList(_list141.size); - @org.apache.thrift.annotation.Nullable TColumn _elem142; - for (int _i143 = 0; _i143 < _list141.size; ++_i143) { - _elem142 = new TColumn(); - _elem142.read(iprot); - struct.columns.add(_elem142); + org.apache.thrift.protocol.TList _list131 = iprot.readListBegin(); + struct.columns = new java.util.ArrayList(_list131.size); + @org.apache.thrift.annotation.Nullable TColumn _elem132; + for (int _i133 = 0; _i133 < _list131.size; ++_i133) { + _elem132 = new TColumn(); + _elem132.read(iprot); + struct.columns.add(_elem132); } iprot.readListEnd(); } @@ -1033,13 +1033,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TRowSet struct) case 1281: // ARROW_BATCHES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list144 = iprot.readListBegin(); - struct.arrowBatches = new java.util.ArrayList(_list144.size); - @org.apache.thrift.annotation.Nullable TSparkArrowBatch _elem145; - for (int _i146 = 0; _i146 < _list144.size; ++_i146) { - _elem145 = new TSparkArrowBatch(); - _elem145.read(iprot); - struct.arrowBatches.add(_elem145); + org.apache.thrift.protocol.TList _list134 = iprot.readListBegin(); + struct.arrowBatches = new java.util.ArrayList(_list134.size); + @org.apache.thrift.annotation.Nullable TSparkArrowBatch _elem135; + for (int _i136 = 0; _i136 < _list134.size; ++_i136) { + _elem135 = new TSparkArrowBatch(); + _elem135.read(iprot); + struct.arrowBatches.add(_elem135); } iprot.readListEnd(); } @@ -1051,13 +1051,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TRowSet struct) case 1282: // RESULT_LINKS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list147 = iprot.readListBegin(); - struct.resultLinks = new java.util.ArrayList(_list147.size); - @org.apache.thrift.annotation.Nullable TSparkArrowResultLink _elem148; - for (int _i149 = 0; _i149 < _list147.size; ++_i149) { - _elem148 = new TSparkArrowResultLink(); - _elem148.read(iprot); - struct.resultLinks.add(_elem148); + org.apache.thrift.protocol.TList _list137 = iprot.readListBegin(); + struct.resultLinks = new java.util.ArrayList(_list137.size); + @org.apache.thrift.annotation.Nullable TSparkArrowResultLink _elem138; + for (int _i139 = 0; _i139 < _list137.size; ++_i139) { + _elem138 = new TSparkArrowResultLink(); + _elem138.read(iprot); + struct.resultLinks.add(_elem138); } iprot.readListEnd(); } @@ -1097,8 +1097,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TRowSet struct) oprot.writeListBegin( new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, struct.rows.size())); - for (TRow _iter150 : struct.rows) { - _iter150.write(oprot); + for (TRow _iter140 : struct.rows) { + _iter140.write(oprot); } oprot.writeListEnd(); } @@ -1111,8 +1111,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TRowSet struct) oprot.writeListBegin( new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, struct.columns.size())); - for (TColumn _iter151 : struct.columns) { - _iter151.write(oprot); + for (TColumn _iter141 : struct.columns) { + _iter141.write(oprot); } oprot.writeListEnd(); } @@ -1138,8 +1138,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TRowSet struct) oprot.writeListBegin( new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, struct.arrowBatches.size())); - for (TSparkArrowBatch _iter152 : struct.arrowBatches) { - _iter152.write(oprot); + for (TSparkArrowBatch _iter142 : struct.arrowBatches) { + _iter142.write(oprot); } oprot.writeListEnd(); } @@ -1153,8 +1153,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TRowSet struct) oprot.writeListBegin( new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, struct.resultLinks.size())); - for (TSparkArrowResultLink _iter153 : struct.resultLinks) { - _iter153.write(oprot); + for (TSparkArrowResultLink _iter143 : struct.resultLinks) { + _iter143.write(oprot); } oprot.writeListEnd(); } @@ -1183,8 +1183,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TRowSet struct) oprot.writeI64(struct.startRowOffset); { oprot.writeI32(struct.rows.size()); - for (TRow _iter154 : struct.rows) { - _iter154.write(oprot); + for (TRow _iter144 : struct.rows) { + _iter144.write(oprot); } } java.util.BitSet optionals = new java.util.BitSet(); @@ -1207,8 +1207,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TRowSet struct) if (struct.isSetColumns()) { { oprot.writeI32(struct.columns.size()); - for (TColumn _iter155 : struct.columns) { - _iter155.write(oprot); + for (TColumn _iter145 : struct.columns) { + _iter145.write(oprot); } } } @@ -1221,16 +1221,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TRowSet struct) if (struct.isSetArrowBatches()) { { oprot.writeI32(struct.arrowBatches.size()); - for (TSparkArrowBatch _iter156 : struct.arrowBatches) { - _iter156.write(oprot); + for (TSparkArrowBatch _iter146 : struct.arrowBatches) { + _iter146.write(oprot); } } } if (struct.isSetResultLinks()) { { oprot.writeI32(struct.resultLinks.size()); - for (TSparkArrowResultLink _iter157 : struct.resultLinks) { - _iter157.write(oprot); + for (TSparkArrowResultLink _iter147 : struct.resultLinks) { + _iter147.write(oprot); } } } @@ -1244,28 +1244,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TRowSet struct) struct.startRowOffset = iprot.readI64(); struct.setStartRowOffsetIsSet(true); { - org.apache.thrift.protocol.TList _list158 = + org.apache.thrift.protocol.TList _list148 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.rows = new java.util.ArrayList(_list158.size); - @org.apache.thrift.annotation.Nullable TRow _elem159; - for (int _i160 = 0; _i160 < _list158.size; ++_i160) { - _elem159 = new TRow(); - _elem159.read(iprot); - struct.rows.add(_elem159); + struct.rows = new java.util.ArrayList(_list148.size); + @org.apache.thrift.annotation.Nullable TRow _elem149; + for (int _i150 = 0; _i150 < _list148.size; ++_i150) { + _elem149 = new TRow(); + _elem149.read(iprot); + struct.rows.add(_elem149); } } struct.setRowsIsSet(true); java.util.BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list161 = + org.apache.thrift.protocol.TList _list151 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.columns = new java.util.ArrayList(_list161.size); - @org.apache.thrift.annotation.Nullable TColumn _elem162; - for (int _i163 = 0; _i163 < _list161.size; ++_i163) { - _elem162 = new TColumn(); - _elem162.read(iprot); - struct.columns.add(_elem162); + struct.columns = new java.util.ArrayList(_list151.size); + @org.apache.thrift.annotation.Nullable TColumn _elem152; + for (int _i153 = 0; _i153 < _list151.size; ++_i153) { + _elem152 = new TColumn(); + _elem152.read(iprot); + struct.columns.add(_elem152); } } struct.setColumnsIsSet(true); @@ -1280,28 +1280,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TRowSet struct) } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list164 = + org.apache.thrift.protocol.TList _list154 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.arrowBatches = new java.util.ArrayList(_list164.size); - @org.apache.thrift.annotation.Nullable TSparkArrowBatch _elem165; - for (int _i166 = 0; _i166 < _list164.size; ++_i166) { - _elem165 = new TSparkArrowBatch(); - _elem165.read(iprot); - struct.arrowBatches.add(_elem165); + struct.arrowBatches = new java.util.ArrayList(_list154.size); + @org.apache.thrift.annotation.Nullable TSparkArrowBatch _elem155; + for (int _i156 = 0; _i156 < _list154.size; ++_i156) { + _elem155 = new TSparkArrowBatch(); + _elem155.read(iprot); + struct.arrowBatches.add(_elem155); } } struct.setArrowBatchesIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list167 = + org.apache.thrift.protocol.TList _list157 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.resultLinks = new java.util.ArrayList(_list167.size); - @org.apache.thrift.annotation.Nullable TSparkArrowResultLink _elem168; - for (int _i169 = 0; _i169 < _list167.size; ++_i169) { - _elem168 = new TSparkArrowResultLink(); - _elem168.read(iprot); - struct.resultLinks.add(_elem168); + struct.resultLinks = new java.util.ArrayList(_list157.size); + @org.apache.thrift.annotation.Nullable TSparkArrowResultLink _elem158; + for (int _i159 = 0; _i159 < _list157.size; ++_i159) { + _elem158 = new TSparkArrowResultLink(); + _elem158.read(iprot); + struct.resultLinks.add(_elem158); } } struct.setResultLinksIsSet(true); diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSQLVariable.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSQLVariable.java deleted file mode 100644 index ea18823754..0000000000 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSQLVariable.java +++ /dev/null @@ -1,993 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.19.0) - * - *

DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * - * @generated - */ -package com.databricks.jdbc.model.client.thrift.generated; - -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) -@javax.annotation.Generated( - value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") -public class TSQLVariable - 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("TSQLVariable"); - - private static final org.apache.thrift.protocol.TField CATALOG_NAME_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "catalogName", org.apache.thrift.protocol.TType.STRING, (short) 1); - private static final org.apache.thrift.protocol.TField SCHEMA_NAME_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "schemaName", org.apache.thrift.protocol.TType.STRING, (short) 2); - private static final org.apache.thrift.protocol.TField VARIABLE_NAME_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "variableName", org.apache.thrift.protocol.TType.STRING, (short) 3); - private static final org.apache.thrift.protocol.TField DEFAULT_EXPRESSION_SQL_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "defaultExpressionSQL", org.apache.thrift.protocol.TType.STRING, (short) 4); - private static final org.apache.thrift.protocol.TField VARIABLE_DATA_TYPE_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "variableDataType", org.apache.thrift.protocol.TType.STRING, (short) 5); - private static final org.apache.thrift.protocol.TField CURRENT_VALUE_FIELD_DESC = - new org.apache.thrift.protocol.TField( - "currentValue", org.apache.thrift.protocol.TType.STRING, (short) 6); - - private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = - new TSQLVariableStandardSchemeFactory(); - private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = - new TSQLVariableTupleSchemeFactory(); - - public @org.apache.thrift.annotation.Nullable java.lang.String catalogName; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String schemaName; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String variableName; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String defaultExpressionSQL; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String variableDataType; // optional - public @org.apache.thrift.annotation.Nullable java.lang.String currentValue; // optional - - /** - * The set of fields this struct contains, along with convenience methods for finding and - * manipulating them. - */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { - CATALOG_NAME((short) 1, "catalogName"), - SCHEMA_NAME((short) 2, "schemaName"), - VARIABLE_NAME((short) 3, "variableName"), - DEFAULT_EXPRESSION_SQL((short) 4, "defaultExpressionSQL"), - VARIABLE_DATA_TYPE((short) 5, "variableDataType"), - CURRENT_VALUE((short) 6, "currentValue"); - - private static final java.util.Map byName = - new java.util.HashMap(); - - static { - for (_Fields field : java.util.EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } - } - - /** Find the _Fields constant that matches fieldId, or null if its not found. */ - @org.apache.thrift.annotation.Nullable - public static _Fields findByThriftId(int fieldId) { - switch (fieldId) { - case 1: // CATALOG_NAME - return CATALOG_NAME; - case 2: // SCHEMA_NAME - return SCHEMA_NAME; - case 3: // VARIABLE_NAME - return VARIABLE_NAME; - case 4: // DEFAULT_EXPRESSION_SQL - return DEFAULT_EXPRESSION_SQL; - case 5: // VARIABLE_DATA_TYPE - return VARIABLE_DATA_TYPE; - case 6: // CURRENT_VALUE - return CURRENT_VALUE; - 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 java.lang.IllegalArgumentException("Field " + fieldId + " doesn't exist!"); - return fields; - } - - /** Find the _Fields constant that matches name, or null if its not found. */ - @org.apache.thrift.annotation.Nullable - public static _Fields findByName(java.lang.String name) { - return byName.get(name); - } - - private final short _thriftId; - private final java.lang.String _fieldName; - - _Fields(short thriftId, java.lang.String fieldName) { - _thriftId = thriftId; - _fieldName = fieldName; - } - - @Override - public short getThriftFieldId() { - return _thriftId; - } - - @Override - public java.lang.String getFieldName() { - return _fieldName; - } - } - - // isset id assignments - private static final _Fields optionals[] = { - _Fields.CATALOG_NAME, - _Fields.SCHEMA_NAME, - _Fields.VARIABLE_NAME, - _Fields.DEFAULT_EXPRESSION_SQL, - _Fields.VARIABLE_DATA_TYPE, - _Fields.CURRENT_VALUE - }; - public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; - - static { - java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = - new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put( - _Fields.CATALOG_NAME, - new org.apache.thrift.meta_data.FieldMetaData( - "catalogName", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING, "TIdentifier"))); - tmpMap.put( - _Fields.SCHEMA_NAME, - new org.apache.thrift.meta_data.FieldMetaData( - "schemaName", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING, "TIdentifier"))); - tmpMap.put( - _Fields.VARIABLE_NAME, - new org.apache.thrift.meta_data.FieldMetaData( - "variableName", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING, "TIdentifier"))); - tmpMap.put( - _Fields.DEFAULT_EXPRESSION_SQL, - new org.apache.thrift.meta_data.FieldMetaData( - "defaultExpressionSQL", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put( - _Fields.VARIABLE_DATA_TYPE, - new org.apache.thrift.meta_data.FieldMetaData( - "variableDataType", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - tmpMap.put( - _Fields.CURRENT_VALUE, - new org.apache.thrift.meta_data.FieldMetaData( - "currentValue", - org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData( - org.apache.thrift.protocol.TType.STRING))); - metaDataMap = java.util.Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TSQLVariable.class, metaDataMap); - } - - public TSQLVariable() {} - - /** Performs a deep copy on other. */ - public TSQLVariable(TSQLVariable other) { - if (other.isSetCatalogName()) { - this.catalogName = other.catalogName; - } - if (other.isSetSchemaName()) { - this.schemaName = other.schemaName; - } - if (other.isSetVariableName()) { - this.variableName = other.variableName; - } - if (other.isSetDefaultExpressionSQL()) { - this.defaultExpressionSQL = other.defaultExpressionSQL; - } - if (other.isSetVariableDataType()) { - this.variableDataType = other.variableDataType; - } - if (other.isSetCurrentValue()) { - this.currentValue = other.currentValue; - } - } - - @Override - public TSQLVariable deepCopy() { - return new TSQLVariable(this); - } - - @Override - public void clear() { - this.catalogName = null; - this.schemaName = null; - this.variableName = null; - this.defaultExpressionSQL = null; - this.variableDataType = null; - this.currentValue = null; - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getCatalogName() { - return this.catalogName; - } - - public TSQLVariable setCatalogName( - @org.apache.thrift.annotation.Nullable java.lang.String catalogName) { - this.catalogName = catalogName; - return this; - } - - public void unsetCatalogName() { - this.catalogName = null; - } - - /** Returns true if field catalogName is set (has been assigned a value) and false otherwise */ - public boolean isSetCatalogName() { - return this.catalogName != null; - } - - public void setCatalogNameIsSet(boolean value) { - if (!value) { - this.catalogName = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getSchemaName() { - return this.schemaName; - } - - public TSQLVariable setSchemaName( - @org.apache.thrift.annotation.Nullable java.lang.String schemaName) { - this.schemaName = schemaName; - return this; - } - - public void unsetSchemaName() { - this.schemaName = null; - } - - /** Returns true if field schemaName is set (has been assigned a value) and false otherwise */ - public boolean isSetSchemaName() { - return this.schemaName != null; - } - - public void setSchemaNameIsSet(boolean value) { - if (!value) { - this.schemaName = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getVariableName() { - return this.variableName; - } - - public TSQLVariable setVariableName( - @org.apache.thrift.annotation.Nullable java.lang.String variableName) { - this.variableName = variableName; - return this; - } - - public void unsetVariableName() { - this.variableName = null; - } - - /** Returns true if field variableName is set (has been assigned a value) and false otherwise */ - public boolean isSetVariableName() { - return this.variableName != null; - } - - public void setVariableNameIsSet(boolean value) { - if (!value) { - this.variableName = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getDefaultExpressionSQL() { - return this.defaultExpressionSQL; - } - - public TSQLVariable setDefaultExpressionSQL( - @org.apache.thrift.annotation.Nullable java.lang.String defaultExpressionSQL) { - this.defaultExpressionSQL = defaultExpressionSQL; - return this; - } - - public void unsetDefaultExpressionSQL() { - this.defaultExpressionSQL = null; - } - - /** - * Returns true if field defaultExpressionSQL is set (has been assigned a value) and false - * otherwise - */ - public boolean isSetDefaultExpressionSQL() { - return this.defaultExpressionSQL != null; - } - - public void setDefaultExpressionSQLIsSet(boolean value) { - if (!value) { - this.defaultExpressionSQL = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getVariableDataType() { - return this.variableDataType; - } - - public TSQLVariable setVariableDataType( - @org.apache.thrift.annotation.Nullable java.lang.String variableDataType) { - this.variableDataType = variableDataType; - return this; - } - - public void unsetVariableDataType() { - this.variableDataType = null; - } - - /** - * Returns true if field variableDataType is set (has been assigned a value) and false otherwise - */ - public boolean isSetVariableDataType() { - return this.variableDataType != null; - } - - public void setVariableDataTypeIsSet(boolean value) { - if (!value) { - this.variableDataType = null; - } - } - - @org.apache.thrift.annotation.Nullable - public java.lang.String getCurrentValue() { - return this.currentValue; - } - - public TSQLVariable setCurrentValue( - @org.apache.thrift.annotation.Nullable java.lang.String currentValue) { - this.currentValue = currentValue; - return this; - } - - public void unsetCurrentValue() { - this.currentValue = null; - } - - /** Returns true if field currentValue is set (has been assigned a value) and false otherwise */ - public boolean isSetCurrentValue() { - return this.currentValue != null; - } - - public void setCurrentValueIsSet(boolean value) { - if (!value) { - this.currentValue = null; - } - } - - @Override - public void setFieldValue( - _Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) { - switch (field) { - case CATALOG_NAME: - if (value == null) { - unsetCatalogName(); - } else { - setCatalogName((java.lang.String) value); - } - break; - - case SCHEMA_NAME: - if (value == null) { - unsetSchemaName(); - } else { - setSchemaName((java.lang.String) value); - } - break; - - case VARIABLE_NAME: - if (value == null) { - unsetVariableName(); - } else { - setVariableName((java.lang.String) value); - } - break; - - case DEFAULT_EXPRESSION_SQL: - if (value == null) { - unsetDefaultExpressionSQL(); - } else { - setDefaultExpressionSQL((java.lang.String) value); - } - break; - - case VARIABLE_DATA_TYPE: - if (value == null) { - unsetVariableDataType(); - } else { - setVariableDataType((java.lang.String) value); - } - break; - - case CURRENT_VALUE: - if (value == null) { - unsetCurrentValue(); - } else { - setCurrentValue((java.lang.String) value); - } - break; - } - } - - @org.apache.thrift.annotation.Nullable - @Override - public java.lang.Object getFieldValue(_Fields field) { - switch (field) { - case CATALOG_NAME: - return getCatalogName(); - - case SCHEMA_NAME: - return getSchemaName(); - - case VARIABLE_NAME: - return getVariableName(); - - case DEFAULT_EXPRESSION_SQL: - return getDefaultExpressionSQL(); - - case VARIABLE_DATA_TYPE: - return getVariableDataType(); - - case CURRENT_VALUE: - return getCurrentValue(); - } - throw new java.lang.IllegalStateException(); - } - - /** - * Returns true if field corresponding to fieldID is set (has been assigned a value) and false - * otherwise - */ - @Override - public boolean isSet(_Fields field) { - if (field == null) { - throw new java.lang.IllegalArgumentException(); - } - - switch (field) { - case CATALOG_NAME: - return isSetCatalogName(); - case SCHEMA_NAME: - return isSetSchemaName(); - case VARIABLE_NAME: - return isSetVariableName(); - case DEFAULT_EXPRESSION_SQL: - return isSetDefaultExpressionSQL(); - case VARIABLE_DATA_TYPE: - return isSetVariableDataType(); - case CURRENT_VALUE: - return isSetCurrentValue(); - } - throw new java.lang.IllegalStateException(); - } - - @Override - public boolean equals(java.lang.Object that) { - if (that instanceof TSQLVariable) return this.equals((TSQLVariable) that); - return false; - } - - public boolean equals(TSQLVariable that) { - if (that == null) return false; - if (this == that) return true; - - boolean this_present_catalogName = true && this.isSetCatalogName(); - boolean that_present_catalogName = true && that.isSetCatalogName(); - if (this_present_catalogName || that_present_catalogName) { - if (!(this_present_catalogName && that_present_catalogName)) return false; - if (!this.catalogName.equals(that.catalogName)) return false; - } - - boolean this_present_schemaName = true && this.isSetSchemaName(); - boolean that_present_schemaName = true && that.isSetSchemaName(); - if (this_present_schemaName || that_present_schemaName) { - if (!(this_present_schemaName && that_present_schemaName)) return false; - if (!this.schemaName.equals(that.schemaName)) return false; - } - - boolean this_present_variableName = true && this.isSetVariableName(); - boolean that_present_variableName = true && that.isSetVariableName(); - if (this_present_variableName || that_present_variableName) { - if (!(this_present_variableName && that_present_variableName)) return false; - if (!this.variableName.equals(that.variableName)) return false; - } - - boolean this_present_defaultExpressionSQL = true && this.isSetDefaultExpressionSQL(); - boolean that_present_defaultExpressionSQL = true && that.isSetDefaultExpressionSQL(); - if (this_present_defaultExpressionSQL || that_present_defaultExpressionSQL) { - if (!(this_present_defaultExpressionSQL && that_present_defaultExpressionSQL)) return false; - if (!this.defaultExpressionSQL.equals(that.defaultExpressionSQL)) return false; - } - - boolean this_present_variableDataType = true && this.isSetVariableDataType(); - boolean that_present_variableDataType = true && that.isSetVariableDataType(); - if (this_present_variableDataType || that_present_variableDataType) { - if (!(this_present_variableDataType && that_present_variableDataType)) return false; - if (!this.variableDataType.equals(that.variableDataType)) return false; - } - - boolean this_present_currentValue = true && this.isSetCurrentValue(); - boolean that_present_currentValue = true && that.isSetCurrentValue(); - if (this_present_currentValue || that_present_currentValue) { - if (!(this_present_currentValue && that_present_currentValue)) return false; - if (!this.currentValue.equals(that.currentValue)) return false; - } - - return true; - } - - @Override - public int hashCode() { - int hashCode = 1; - - hashCode = hashCode * 8191 + ((isSetCatalogName()) ? 131071 : 524287); - if (isSetCatalogName()) hashCode = hashCode * 8191 + catalogName.hashCode(); - - hashCode = hashCode * 8191 + ((isSetSchemaName()) ? 131071 : 524287); - if (isSetSchemaName()) hashCode = hashCode * 8191 + schemaName.hashCode(); - - hashCode = hashCode * 8191 + ((isSetVariableName()) ? 131071 : 524287); - if (isSetVariableName()) hashCode = hashCode * 8191 + variableName.hashCode(); - - hashCode = hashCode * 8191 + ((isSetDefaultExpressionSQL()) ? 131071 : 524287); - if (isSetDefaultExpressionSQL()) hashCode = hashCode * 8191 + defaultExpressionSQL.hashCode(); - - hashCode = hashCode * 8191 + ((isSetVariableDataType()) ? 131071 : 524287); - if (isSetVariableDataType()) hashCode = hashCode * 8191 + variableDataType.hashCode(); - - hashCode = hashCode * 8191 + ((isSetCurrentValue()) ? 131071 : 524287); - if (isSetCurrentValue()) hashCode = hashCode * 8191 + currentValue.hashCode(); - - return hashCode; - } - - @Override - public int compareTo(TSQLVariable other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); - } - - int lastComparison = 0; - - lastComparison = java.lang.Boolean.compare(isSetCatalogName(), other.isSetCatalogName()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetCatalogName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogName, other.catalogName); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetSchemaName(), other.isSetSchemaName()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetSchemaName()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schemaName, other.schemaName); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetVariableName(), other.isSetVariableName()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetVariableName()) { - lastComparison = - org.apache.thrift.TBaseHelper.compareTo(this.variableName, other.variableName); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = - java.lang.Boolean.compare(isSetDefaultExpressionSQL(), other.isSetDefaultExpressionSQL()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetDefaultExpressionSQL()) { - lastComparison = - org.apache.thrift.TBaseHelper.compareTo( - this.defaultExpressionSQL, other.defaultExpressionSQL); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = - java.lang.Boolean.compare(isSetVariableDataType(), other.isSetVariableDataType()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetVariableDataType()) { - lastComparison = - org.apache.thrift.TBaseHelper.compareTo(this.variableDataType, other.variableDataType); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = java.lang.Boolean.compare(isSetCurrentValue(), other.isSetCurrentValue()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetCurrentValue()) { - lastComparison = - org.apache.thrift.TBaseHelper.compareTo(this.currentValue, other.currentValue); - if (lastComparison != 0) { - return lastComparison; - } - } - return 0; - } - - @org.apache.thrift.annotation.Nullable - @Override - public _Fields fieldForId(int fieldId) { - return _Fields.findByThriftId(fieldId); - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { - scheme(iprot).read(iprot, this); - } - - @Override - public void write(org.apache.thrift.protocol.TProtocol oprot) - throws org.apache.thrift.TException { - scheme(oprot).write(oprot, this); - } - - @Override - public java.lang.String toString() { - java.lang.StringBuilder sb = new java.lang.StringBuilder("TSQLVariable("); - boolean first = true; - - if (isSetCatalogName()) { - sb.append("catalogName:"); - if (this.catalogName == null) { - sb.append("null"); - } else { - sb.append(this.catalogName); - } - first = false; - } - if (isSetSchemaName()) { - if (!first) sb.append(", "); - sb.append("schemaName:"); - if (this.schemaName == null) { - sb.append("null"); - } else { - sb.append(this.schemaName); - } - first = false; - } - if (isSetVariableName()) { - if (!first) sb.append(", "); - sb.append("variableName:"); - if (this.variableName == null) { - sb.append("null"); - } else { - sb.append(this.variableName); - } - first = false; - } - if (isSetDefaultExpressionSQL()) { - if (!first) sb.append(", "); - sb.append("defaultExpressionSQL:"); - if (this.defaultExpressionSQL == null) { - sb.append("null"); - } else { - sb.append(this.defaultExpressionSQL); - } - first = false; - } - if (isSetVariableDataType()) { - if (!first) sb.append(", "); - sb.append("variableDataType:"); - if (this.variableDataType == null) { - sb.append("null"); - } else { - sb.append(this.variableDataType); - } - first = false; - } - if (isSetCurrentValue()) { - if (!first) sb.append(", "); - sb.append("currentValue:"); - if (this.currentValue == null) { - sb.append("null"); - } else { - sb.append(this.currentValue); - } - 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, java.lang.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 TSQLVariableStandardSchemeFactory - implements org.apache.thrift.scheme.SchemeFactory { - @Override - public TSQLVariableStandardScheme getScheme() { - return new TSQLVariableStandardScheme(); - } - } - - private static class TSQLVariableStandardScheme - extends org.apache.thrift.scheme.StandardScheme { - - @Override - public void read(org.apache.thrift.protocol.TProtocol iprot, TSQLVariable 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: // CATALOG_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.catalogName = iprot.readString(); - struct.setCatalogNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // SCHEMA_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.schemaName = iprot.readString(); - struct.setSchemaNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // VARIABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.variableName = iprot.readString(); - struct.setVariableNameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 4: // DEFAULT_EXPRESSION_SQL - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.defaultExpressionSQL = iprot.readString(); - struct.setDefaultExpressionSQLIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 5: // VARIABLE_DATA_TYPE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.variableDataType = iprot.readString(); - struct.setVariableDataTypeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 6: // CURRENT_VALUE - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.currentValue = iprot.readString(); - struct.setCurrentValueIsSet(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(); - } - - @Override - public void write(org.apache.thrift.protocol.TProtocol oprot, TSQLVariable struct) - throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (struct.catalogName != null) { - if (struct.isSetCatalogName()) { - oprot.writeFieldBegin(CATALOG_NAME_FIELD_DESC); - oprot.writeString(struct.catalogName); - oprot.writeFieldEnd(); - } - } - if (struct.schemaName != null) { - if (struct.isSetSchemaName()) { - oprot.writeFieldBegin(SCHEMA_NAME_FIELD_DESC); - oprot.writeString(struct.schemaName); - oprot.writeFieldEnd(); - } - } - if (struct.variableName != null) { - if (struct.isSetVariableName()) { - oprot.writeFieldBegin(VARIABLE_NAME_FIELD_DESC); - oprot.writeString(struct.variableName); - oprot.writeFieldEnd(); - } - } - if (struct.defaultExpressionSQL != null) { - if (struct.isSetDefaultExpressionSQL()) { - oprot.writeFieldBegin(DEFAULT_EXPRESSION_SQL_FIELD_DESC); - oprot.writeString(struct.defaultExpressionSQL); - oprot.writeFieldEnd(); - } - } - if (struct.variableDataType != null) { - if (struct.isSetVariableDataType()) { - oprot.writeFieldBegin(VARIABLE_DATA_TYPE_FIELD_DESC); - oprot.writeString(struct.variableDataType); - oprot.writeFieldEnd(); - } - } - if (struct.currentValue != null) { - if (struct.isSetCurrentValue()) { - oprot.writeFieldBegin(CURRENT_VALUE_FIELD_DESC); - oprot.writeString(struct.currentValue); - oprot.writeFieldEnd(); - } - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - } - - private static class TSQLVariableTupleSchemeFactory - implements org.apache.thrift.scheme.SchemeFactory { - @Override - public TSQLVariableTupleScheme getScheme() { - return new TSQLVariableTupleScheme(); - } - } - - private static class TSQLVariableTupleScheme - extends org.apache.thrift.scheme.TupleScheme { - - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TSQLVariable struct) - throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol oprot = - (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet optionals = new java.util.BitSet(); - if (struct.isSetCatalogName()) { - optionals.set(0); - } - if (struct.isSetSchemaName()) { - optionals.set(1); - } - if (struct.isSetVariableName()) { - optionals.set(2); - } - if (struct.isSetDefaultExpressionSQL()) { - optionals.set(3); - } - if (struct.isSetVariableDataType()) { - optionals.set(4); - } - if (struct.isSetCurrentValue()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); - if (struct.isSetCatalogName()) { - oprot.writeString(struct.catalogName); - } - if (struct.isSetSchemaName()) { - oprot.writeString(struct.schemaName); - } - if (struct.isSetVariableName()) { - oprot.writeString(struct.variableName); - } - if (struct.isSetDefaultExpressionSQL()) { - oprot.writeString(struct.defaultExpressionSQL); - } - if (struct.isSetVariableDataType()) { - oprot.writeString(struct.variableDataType); - } - if (struct.isSetCurrentValue()) { - oprot.writeString(struct.currentValue); - } - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TSQLVariable struct) - throws org.apache.thrift.TException { - org.apache.thrift.protocol.TTupleProtocol iprot = - (org.apache.thrift.protocol.TTupleProtocol) prot; - java.util.BitSet incoming = iprot.readBitSet(6); - if (incoming.get(0)) { - struct.catalogName = iprot.readString(); - struct.setCatalogNameIsSet(true); - } - if (incoming.get(1)) { - struct.schemaName = iprot.readString(); - struct.setSchemaNameIsSet(true); - } - if (incoming.get(2)) { - struct.variableName = iprot.readString(); - struct.setVariableNameIsSet(true); - } - if (incoming.get(3)) { - struct.defaultExpressionSQL = iprot.readString(); - struct.setDefaultExpressionSQLIsSet(true); - } - if (incoming.get(4)) { - struct.variableDataType = iprot.readString(); - struct.setVariableDataTypeIsSet(true); - } - if (incoming.get(5)) { - struct.currentValue = iprot.readString(); - struct.setCurrentValueIsSet(true); - } - } - } - - private static S scheme( - org.apache.thrift.protocol.TProtocol proto) { - return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) - ? STANDARD_SCHEME_FACTORY - : TUPLE_SCHEME_FACTORY) - .getScheme(); - } -} diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSessionHandle.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSessionHandle.java index 4d05644a49..2f46261d73 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSessionHandle.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSessionHandle.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TSessionHandle implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkArrowBatch.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkArrowBatch.java index 298b08656c..3eb1a1e5f2 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkArrowBatch.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkArrowBatch.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TSparkArrowBatch implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkArrowResultLink.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkArrowResultLink.java index f53ffafb6d..020bdf1fbb 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkArrowResultLink.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkArrowResultLink.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TSparkArrowResultLink implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkArrowTypes.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkArrowTypes.java index 0cdac3f856..599ce5333e 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkArrowTypes.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkArrowTypes.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TSparkArrowTypes implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkDirectResults.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkDirectResults.java index fac0be108a..938ad9f4c5 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkDirectResults.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkDirectResults.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TSparkDirectResults implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkGetDirectResults.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkGetDirectResults.java index ad89cbef10..129d813615 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkGetDirectResults.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkGetDirectResults.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TSparkGetDirectResults implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkParameter.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkParameter.java index 2ef2113dfb..c4cefe8986 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkParameter.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkParameter.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TSparkParameter implements org.apache.thrift.TBase, java.io.Serializable, @@ -737,13 +737,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TSparkParameter str case 5: // ARGUMENTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list304 = iprot.readListBegin(); - struct.arguments = new java.util.ArrayList(_list304.size); - @org.apache.thrift.annotation.Nullable TSparkParameterValueArg _elem305; - for (int _i306 = 0; _i306 < _list304.size; ++_i306) { - _elem305 = new TSparkParameterValueArg(); - _elem305.read(iprot); - struct.arguments.add(_elem305); + org.apache.thrift.protocol.TList _list240 = iprot.readListBegin(); + struct.arguments = new java.util.ArrayList(_list240.size); + @org.apache.thrift.annotation.Nullable TSparkParameterValueArg _elem241; + for (int _i242 = 0; _i242 < _list240.size; ++_i242) { + _elem241 = new TSparkParameterValueArg(); + _elem241.read(iprot); + struct.arguments.add(_elem241); } iprot.readListEnd(); } @@ -802,8 +802,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TSparkParameter st oprot.writeListBegin( new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, struct.arguments.size())); - for (TSparkParameterValueArg _iter307 : struct.arguments) { - _iter307.write(oprot); + for (TSparkParameterValueArg _iter243 : struct.arguments) { + _iter243.write(oprot); } oprot.writeListEnd(); } @@ -863,8 +863,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TSparkParameter str if (struct.isSetArguments()) { { oprot.writeI32(struct.arguments.size()); - for (TSparkParameterValueArg _iter308 : struct.arguments) { - _iter308.write(oprot); + for (TSparkParameterValueArg _iter244 : struct.arguments) { + _iter244.write(oprot); } } } @@ -895,14 +895,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TSparkParameter stru } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list309 = + org.apache.thrift.protocol.TList _list245 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.arguments = new java.util.ArrayList(_list309.size); - @org.apache.thrift.annotation.Nullable TSparkParameterValueArg _elem310; - for (int _i311 = 0; _i311 < _list309.size; ++_i311) { - _elem310 = new TSparkParameterValueArg(); - _elem310.read(iprot); - struct.arguments.add(_elem310); + struct.arguments = new java.util.ArrayList(_list245.size); + @org.apache.thrift.annotation.Nullable TSparkParameterValueArg _elem246; + for (int _i247 = 0; _i247 < _list245.size; ++_i247) { + _elem246 = new TSparkParameterValueArg(); + _elem246.read(iprot); + struct.arguments.add(_elem246); } } struct.setArgumentsIsSet(true); diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkParameterValue.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkParameterValue.java index d7afce178f..c803cce83f 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkParameterValue.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkParameterValue.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TSparkParameterValue extends org.apache.thrift.TUnion { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkParameterValueArg.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkParameterValueArg.java index 0fae2e7845..d2bd6eb475 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkParameterValueArg.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkParameterValueArg.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TSparkParameterValueArg implements org.apache.thrift.TBase, java.io.Serializable, @@ -546,13 +546,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TSparkParameterValu case 3: // ARGUMENTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list296 = iprot.readListBegin(); - struct.arguments = new java.util.ArrayList(_list296.size); - @org.apache.thrift.annotation.Nullable TSparkParameterValueArg _elem297; - for (int _i298 = 0; _i298 < _list296.size; ++_i298) { - _elem297 = new TSparkParameterValueArg(); - _elem297.read(iprot); - struct.arguments.add(_elem297); + org.apache.thrift.protocol.TList _list232 = iprot.readListBegin(); + struct.arguments = new java.util.ArrayList(_list232.size); + @org.apache.thrift.annotation.Nullable TSparkParameterValueArg _elem233; + for (int _i234 = 0; _i234 < _list232.size; ++_i234) { + _elem233 = new TSparkParameterValueArg(); + _elem233.read(iprot); + struct.arguments.add(_elem233); } iprot.readListEnd(); } @@ -599,8 +599,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TSparkParameterVal oprot.writeListBegin( new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRUCT, struct.arguments.size())); - for (TSparkParameterValueArg _iter299 : struct.arguments) { - _iter299.write(oprot); + for (TSparkParameterValueArg _iter235 : struct.arguments) { + _iter235.write(oprot); } oprot.writeListEnd(); } @@ -648,8 +648,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TSparkParameterValu if (struct.isSetArguments()) { { oprot.writeI32(struct.arguments.size()); - for (TSparkParameterValueArg _iter300 : struct.arguments) { - _iter300.write(oprot); + for (TSparkParameterValueArg _iter236 : struct.arguments) { + _iter236.write(oprot); } } } @@ -671,14 +671,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TSparkParameterValue } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list301 = + org.apache.thrift.protocol.TList _list237 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRUCT); - struct.arguments = new java.util.ArrayList(_list301.size); - @org.apache.thrift.annotation.Nullable TSparkParameterValueArg _elem302; - for (int _i303 = 0; _i303 < _list301.size; ++_i303) { - _elem302 = new TSparkParameterValueArg(); - _elem302.read(iprot); - struct.arguments.add(_elem302); + struct.arguments = new java.util.ArrayList(_list237.size); + @org.apache.thrift.annotation.Nullable TSparkParameterValueArg _elem238; + for (int _i239 = 0; _i239 < _list237.size; ++_i239) { + _elem238 = new TSparkParameterValueArg(); + _elem238.read(iprot); + struct.arguments.add(_elem238); } } struct.setArgumentsIsSet(true); diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkRowSetType.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkRowSetType.java index 0b121bec6f..4daae64586 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkRowSetType.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TSparkRowSetType.java @@ -9,7 +9,7 @@ @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public enum TSparkRowSetType implements org.apache.thrift.TEnum { ARROW_BASED_SET(0), COLUMN_BASED_SET(1), diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStatementConf.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStatementConf.java index bfb2f6419f..33aded392c 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStatementConf.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStatementConf.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TStatementConf implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStatus.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStatus.java index 27db412690..f6f7e78b17 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStatus.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStatus.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TStatus implements org.apache.thrift.TBase, java.io.Serializable, @@ -916,12 +916,12 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TStatus struct) case 2: // INFO_MESSAGES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list224 = iprot.readListBegin(); - struct.infoMessages = new java.util.ArrayList(_list224.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem225; - for (int _i226 = 0; _i226 < _list224.size; ++_i226) { - _elem225 = iprot.readString(); - struct.infoMessages.add(_elem225); + org.apache.thrift.protocol.TList _list160 = iprot.readListBegin(); + struct.infoMessages = new java.util.ArrayList(_list160.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem161; + for (int _i162 = 0; _i162 < _list160.size; ++_i162) { + _elem161 = iprot.readString(); + struct.infoMessages.add(_elem161); } iprot.readListEnd(); } @@ -999,8 +999,8 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TStatus struct) oprot.writeListBegin( new org.apache.thrift.protocol.TList( org.apache.thrift.protocol.TType.STRING, struct.infoMessages.size())); - for (java.lang.String _iter227 : struct.infoMessages) { - oprot.writeString(_iter227); + for (java.lang.String _iter163 : struct.infoMessages) { + oprot.writeString(_iter163); } oprot.writeListEnd(); } @@ -1083,8 +1083,8 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TStatus struct) if (struct.isSetInfoMessages()) { { oprot.writeI32(struct.infoMessages.size()); - for (java.lang.String _iter228 : struct.infoMessages) { - oprot.writeString(_iter228); + for (java.lang.String _iter164 : struct.infoMessages) { + oprot.writeString(_iter164); } } } @@ -1117,13 +1117,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TStatus struct) java.util.BitSet incoming = iprot.readBitSet(6); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list229 = + org.apache.thrift.protocol.TList _list165 = iprot.readListBegin(org.apache.thrift.protocol.TType.STRING); - struct.infoMessages = new java.util.ArrayList(_list229.size); - @org.apache.thrift.annotation.Nullable java.lang.String _elem230; - for (int _i231 = 0; _i231 < _list229.size; ++_i231) { - _elem230 = iprot.readString(); - struct.infoMessages.add(_elem230); + struct.infoMessages = new java.util.ArrayList(_list165.size); + @org.apache.thrift.annotation.Nullable java.lang.String _elem166; + for (int _i167 = 0; _i167 < _list165.size; ++_i167) { + _elem166 = iprot.readString(); + struct.infoMessages.add(_elem166); } } struct.setInfoMessagesIsSet(true); diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStatusCode.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStatusCode.java index 2eb0e0fe3b..60ad084351 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStatusCode.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStatusCode.java @@ -9,7 +9,7 @@ @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public enum TStatusCode implements org.apache.thrift.TEnum { SUCCESS_STATUS(0), SUCCESS_WITH_INFO_STATUS(1), diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStringColumn.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStringColumn.java index d7bfefa77c..72447c80e6 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStringColumn.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStringColumn.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TStringColumn implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStringValue.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStringValue.java index 0dbc299084..3e582fca48 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStringValue.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStringValue.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TStringValue implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStructTypeEntry.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStructTypeEntry.java index 54e7407f3b..529473405b 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStructTypeEntry.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TStructTypeEntry.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TStructTypeEntry implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTableSchema.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTableSchema.java index 8971908936..59867effe5 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTableSchema.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTableSchema.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TTableSchema implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeDesc.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeDesc.java index e4dc73ca1f..50efedd18a 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeDesc.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeDesc.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TTypeDesc implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeEntry.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeEntry.java index b9704148fc..8f4a1e9c88 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeEntry.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeEntry.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TTypeEntry extends org.apache.thrift.TUnion { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TTypeEntry"); diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeId.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeId.java index 78cdf7d0ee..0576de7a3b 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeId.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeId.java @@ -9,7 +9,7 @@ @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public enum TTypeId implements org.apache.thrift.TEnum { BOOLEAN_TYPE(0), TINYINT_TYPE(1), diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeQualifierValue.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeQualifierValue.java index 6a5288d192..fe71bebc3c 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeQualifierValue.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeQualifierValue.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TTypeQualifierValue extends org.apache.thrift.TUnion { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeQualifiers.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeQualifiers.java index e6095aa2e5..975d033e6f 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeQualifiers.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TTypeQualifiers.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TTypeQualifiers implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TUnionTypeEntry.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TUnionTypeEntry.java index 96f159709c..307a59c950 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TUnionTypeEntry.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TUnionTypeEntry.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TUnionTypeEntry implements org.apache.thrift.TBase, java.io.Serializable, diff --git a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TUserDefinedTypeEntry.java b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TUserDefinedTypeEntry.java index 0d23a477af..566e0ad1c2 100644 --- a/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TUserDefinedTypeEntry.java +++ b/src/main/java/com/databricks/jdbc/model/client/thrift/generated/TUserDefinedTypeEntry.java @@ -10,7 +10,7 @@ @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"}) @javax.annotation.Generated( value = "Autogenerated by Thrift Compiler (0.19.0)", - date = "2024-10-09") + date = "2025-05-08") public class TUserDefinedTypeEntry implements org.apache.thrift.TBase, java.io.Serializable,