index
int64
0
0
repo_id
stringlengths
9
205
file_path
stringlengths
31
246
content
stringlengths
1
12.2M
__index_level_0__
int64
0
10k
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/gss/GssAction.java
/* * Copyright (c) 2008, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.gss; import com.amazon.redshift.core.RedshiftStream; import com.amazon.redshift.logger.LogLevel; import com.amazon.redshift.logger.RedshiftLogger; import com....
8,100
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/gss/GSSCallbackHandler.java
/* * Copyright (c) 2008, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.gss; import java.io.IOException; import javax.security.auth.callback.Callback; import javax.security.auth.callback.CallbackHandler; import javax.security.aut...
8,101
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/gss/MakeGSS.java
/* * Copyright (c) 2008, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.gss; import com.amazon.redshift.core.RedshiftStream; import com.amazon.redshift.logger.LogLevel; import com.amazon.redshift.logger.RedshiftLogger; import com....
8,102
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/ServerVersion.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import java.text.NumberFormat; import java.text.ParsePosition; /** * Enumeration for Redshift versions. */ public enum ServerVersion implements Versi...
8,103
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/ResultCursor.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ // Copyright (c) 2004, Open Cloud Limited. package com.amazon.redshift.core; /** * Abstraction of a cursor over a returned resultset. This is an opaque interface that only provides * a...
8,104
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/VisibleBufferedInputStream.java
/* * Copyright (c) 2006, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import java.io.EOFException; import java.io.IOException; import java.io.InputStream; import java.net.SocketTimeoutException; /** * A faster version of...
8,105
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/Parser.java
/* * Copyright (c) 2006, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import com.amazon.redshift.jdbc.EscapeSyntaxCallMode; import com.amazon.redshift.jdbc.EscapedFunctions2; import com.amazon.redshift.util.GT; import com....
8,106
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/ResultHandlerDelegate.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import java.sql.SQLException; import java.sql.SQLWarning; import java.util.List; import com.amazon.redshift.core.v3.MessageLoopState; import com.amazon...
8,107
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/RedshiftStream.java
/* * Copyright (c) 2017, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import com.amazon.redshift.RedshiftProperty; import com.amazon.redshift.logger.LogLevel; import com.amazon.redshift.logger.RedshiftLogger; import com.am...
8,108
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/ParameterList.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ // Copyright (c) 2004, Open Cloud Limited. package com.amazon.redshift.core; import com.amazon.redshift.util.ByteStreamWriter; import java.io.InputStream; import java.sql.SQLException; ...
8,109
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/ReplicationProtocol.java
/* * Copyright (c) 2016, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import com.amazon.redshift.logger.RedshiftLogger; import com.amazon.redshift.replication.RedshiftReplicationStream; import com.amazon.redshift.replicati...
8,110
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/Tuple.java
/* * Copyright (c) 2020, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import com.amazon.redshift.jdbc.RedshiftConnectionImpl; /** * Class representing a row in a {@link java.sql.ResultSet}. */ public class Tuple { pri...
8,111
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/Provider.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; /** * Represents a provider of results. * * @param <T> the type of results provided by this provider */ public interface Provider<T> { /** * G...
8,112
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/QueryExecutor.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ // Copyright (c) 2004, Open Cloud Limited. package com.amazon.redshift.core; import com.amazon.redshift.RedshiftNotification; import com.amazon.redshift.copy.CopyOperation; import com.am...
8,113
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/IdpAuthHelper.java
package com.amazon.redshift.core; import java.util.Enumeration; import java.util.Iterator; import java.util.Locale; import java.util.Properties; import java.util.Map.Entry; import com.amazon.redshift.AuthMech; import com.amazon.redshift.RedshiftProperty; import com.amazon.redshift.jdbc.RedshiftConnectionImpl; import ...
8,114
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/Notification.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import com.amazon.redshift.RedshiftNotification; public class Notification implements RedshiftNotification { private final String name; private fi...
8,115
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/RedshiftJDBCSettings.java
package com.amazon.redshift.core; import java.util.HashMap; import java.util.List; import java.util.Map; import com.amazon.redshift.AuthMech; public class RedshiftJDBCSettings { /* * Static variable(s) ========================================================================== */ /* * Instance...
8,116
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/NativeAuthPluginHelper.java
package com.amazon.redshift.core; import com.amazon.redshift.plugin.utils.RequestUtils; import com.amazon.redshift.util.RedshiftProperties; import com.amazonaws.util.StringUtils; import com.amazon.redshift.INativePlugin; import com.amazon.redshift.IPlugin; import com.amazon.redshift.NativeTokenHolder; import com.amazo...
8,117
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/FixedLengthOutputStream.java
/* * Copyright (c) 2020, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import java.io.IOException; import java.io.OutputStream; /** * A stream that refuses to write more than a maximum number of bytes. */ public class Fi...
8,118
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/SocketFactoryFactory.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import com.amazon.redshift.RedshiftProperty; import com.amazon.redshift.jdbc.RedshiftConnectionImpl; import com.amazon.redshift.ssl.LibPQFactory; import...
8,119
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/Utils.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ // Copyright (c) 2004, Open Cloud Limited. package com.amazon.redshift.core; import com.amazon.redshift.util.GT; import com.amazon.redshift.util.RedshiftException; import com.amazon.reds...
8,120
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/ResultHandler.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ // Copyright (c) 2004, Open Cloud Limited. package com.amazon.redshift.core; import java.sql.SQLException; import java.sql.SQLWarning; import java.util.List; import com.amazon.redshift....
8,121
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/NativeQuery.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ // Copyright (c) 2004, Open Cloud Limited. package com.amazon.redshift.core; /** * Represents a query that is ready for execution by backend. The main difference from JDBC is ? are * r...
8,122
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/CachedQuery.java
/* * Copyright (c) 2015, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import com.amazon.redshift.util.CanEstimateSize; /** * Stores information on the parsed JDBC query. It is used to cut parsing overhead when executing ...
8,123
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/PluginProfilesConfigFile.java
package com.amazon.redshift.core; import java.util.Date; import java.util.Locale; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import com.amazonaws.SdkClientException; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.AWSCredentialsProvider; import com.a...
8,124
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/CompressedInputStream.java
package com.amazon.redshift.core; import com.amazon.redshift.logger.LogLevel; import com.amazon.redshift.logger.RedshiftLogger; import com.amazon.redshift.Driver; import java.lang.Math; import java.io.IOException; import java.io.InputStream; import java.util.Arrays; public class CompressedInputStream extends InputSt...
8,125
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/ServerlessIamHelper.java
package com.amazon.redshift.core; import java.util.Date; import java.util.HashMap; import java.util.Map; import com.amazon.redshift.core.IamHelper.CredentialProviderType; import com.amazon.redshift.logger.RedshiftLogger; import com.amazon.redshift.plugin.utils.RequestUtils; import com.amazonaws.AmazonClientException;...
8,126
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/CachedQueryCreateAction.java
/* * Copyright (c) 2015, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import com.amazon.redshift.jdbc.PreferQueryMode; import com.amazon.redshift.util.LruCache; import java.sql.SQLException; import java.util.List; /** *...
8,127
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/BaseStatement.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import com.amazon.redshift.RedshiftStatement; import com.amazon.redshift.core.v3.MessageLoopState; import com.amazon.redshift.core.v3.RedshiftRowsBlocki...
8,128
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/SqlCommand.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import static com.amazon.redshift.core.SqlCommandType.INSERT; import static com.amazon.redshift.core.SqlCommandType.SELECT; import static com.amazon.red...
8,129
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/BaseConnection.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import com.amazon.redshift.RedshiftConnection; import com.amazon.redshift.RedshiftProperty; import com.amazon.redshift.jdbc.FieldMetadata; import com.am...
8,130
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/SetupQueryRunner.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ // Copyright (c) 2004, Open Cloud Limited. package com.amazon.redshift.core; import com.amazon.redshift.core.v3.MessageLoopState; import com.amazon.redshift.core.v3.RedshiftRowsBlockingQ...
8,131
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/ByteOptimizedUTF8Encoder.java
/* * Copyright (c) 2019, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import java.io.IOException; import java.nio.charset.Charset; /** * UTF-8 encoder which validates input and is optimized for jdk 9+ where {@code String...
8,132
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/JavaVersion.java
/* * Copyright (c) 2017, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; public enum JavaVersion { // Note: order is important, v1_6, v1_7, v1_8, other; private static final JavaVersion RUNTIME_VERSION = from(Sys...
8,133
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/JdbcCallParseInfo.java
/* * Copyright (c) 2015, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; /** * Contains parse flags from {@link Parser#modifyJdbcCall(String, boolean, int, int, EscapeSyntaxCallMode)}. */ public class JdbcCallParseInfo { ...
8,134
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/Query.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ // Copyright (c) 2004, Open Cloud Limited. package com.amazon.redshift.core; import java.util.Map; /** * <p>Abstraction of a generic Query, hiding the details of any protocol-version-s...
8,135
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/OptimizedUTF8Encoder.java
/* * Copyright (c) 2019, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import com.amazon.redshift.logger.RedshiftLogger; import com.amazon.redshift.util.GT; import java.io.IOException; import java.nio.charset.Charset; impo...
8,136
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/TransactionState.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; public enum TransactionState { IDLE, OPEN, FAILED }
8,137
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/BaseQueryKey.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import com.amazon.redshift.util.CanEstimateSize; /** * This class is used as a cache key for simple statements that have no "returning columns". * Pr...
8,138
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/CharOptimizedUTF8Encoder.java
/* * Copyright (c) 2019, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import java.io.IOException; /** * UTF-8 encoder which validates input and is optimized for jdk 8 and lower where {@code String} objects are backed by ...
8,139
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/IamHelper.java
package com.amazon.redshift.core; import com.amazon.redshift.util.RedshiftProperties; import com.amazonaws.AmazonClientException; import com.amazonaws.ClientConfiguration; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.AWSCredentialsProvider; import com.amazonaws.auth.AWSStaticCredentialsProvider;...
8,140
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/RedshiftBindException.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import java.io.IOException; public class RedshiftBindException extends IOException { private final IOException ioe; public RedshiftBindException(...
8,141
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/Field.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import com.amazon.redshift.jdbc.FieldMetadata; /* */ public class Field { // The V3 protocol defines two constants for the format of data public s...
8,142
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/TypeInfo.java
/* * Copyright (c) 2008, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import com.amazon.redshift.util.RedshiftObject; import java.sql.SQLException; import java.util.Iterator; public interface TypeInfo { void addCoreTyp...
8,143
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/Encoding.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.OutputStreamWriter...
8,144
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/ConnectionFactory.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ // Copyright (c) 2004, Open Cloud Limited. package com.amazon.redshift.core; import com.amazon.redshift.RedshiftProperty; import com.amazon.redshift.core.v3.ConnectionFactoryImpl; import...
8,145
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/ResultHandlerBase.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ // Copyright (c) 2004, Open Cloud Limited. package com.amazon.redshift.core; import java.sql.SQLException; import java.sql.SQLWarning; import java.util.List; import com.amazon.redshift....
8,146
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/Oid.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import com.amazon.redshift.util.GT; import com.amazon.redshift.util.RedshiftException; import com.amazon.redshift.util.RedshiftState; import java.lang....
8,147
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/QueryExecutorBase.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import com.amazon.redshift.RedshiftNotification; import com.amazon.redshift.RedshiftProperty; import com.amazon.redshift.core.v3.RedshiftRowsBlockingQue...
8,148
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/CommandCompleteParser.java
/* * Copyright (c) 2018, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import com.amazon.redshift.util.GT; import com.amazon.redshift.util.RedshiftException; import com.amazon.redshift.util.RedshiftState; /** * Parses {@c...
8,149
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/QueryWithReturningColumnsKey.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import java.util.Arrays; /** * Cache key for a query that have some returning columns. * {@code columnNames} should contain non-quoted column names. ...
8,150
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/EncodingPredictor.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; import java.io.IOException; import com.amazon.redshift.logger.RedshiftLogger; /** * <p>Predicts encoding for error messages based on some heuristics....
8,151
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/Version.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; public interface Version { /** * Get a machine-readable version number. * * @return the version in numeric XXYYZZ form, e.g. 90401 for 9.4.1...
8,152
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/CallableQueryKey.java
/* * Copyright (c) 2015, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; /** * Serves as a cache key for {@link java.sql.CallableStatement}. * Callable statements require some special parsing before use (due to JDBC {@code ...
8,153
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/SqlCommandType.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core; /** * Type information inspection support. * @author Jeremy Whiting jwhiting@redhat.com * */ public enum SqlCommandType { /** * Use BLANK for...
8,154
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/CopyOperationImpl.java
/* * Copyright (c) 2009, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core.v3; import com.amazon.redshift.copy.CopyOperation; import com.amazon.redshift.util.GT; import com.amazon.redshift.util.RedshiftException; import com.amaz...
8,155
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/CopyInImpl.java
/* * Copyright (c) 2009, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core.v3; import com.amazon.redshift.copy.CopyIn; import com.amazon.redshift.util.ByteStreamWriter; import com.amazon.redshift.util.GT; import com.amazon.redsh...
8,156
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/CompositeQuery.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ // Copyright (c) 2004, Open Cloud Limited. package com.amazon.redshift.core.v3; import com.amazon.redshift.core.ParameterList; import com.amazon.redshift.core.Query; import com.amazon.re...
8,157
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/V3ParameterList.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ // Copyright (c) 2004, Open Cloud Limited. package com.amazon.redshift.core.v3; import com.amazon.redshift.core.ParameterList; import java.sql.SQLException; /** * Common interface for...
8,158
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/TypeTransferModeRegistry.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core.v3; public interface TypeTransferModeRegistry { /** * Returns if given oid should be sent in binary format. * @param oid type oid * @return tr...
8,159
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/MessageLoopState.java
package com.amazon.redshift.core.v3; import com.amazon.redshift.core.Tuple; /** * Keep the state of the message loop for Ring Buffer to work on separate thread. * This is use in processResult(). It store all local vars of processResult() methods, * so it can process in multiple threads. * * @author igarish * ...
8,160
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/QueryExecutorImpl.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ // Copyright (c) 2004, Open Cloud Limited. package com.amazon.redshift.core.v3; import com.amazon.redshift.RedshiftProperty; import com.amazon.redshift.copy.CopyIn; import com.amazon.red...
8,161
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/SimpleParameterList.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ // Copyright (c) 2004, Open Cloud Limited. package com.amazon.redshift.core.v3; import com.amazon.redshift.core.Oid; import com.amazon.redshift.core.RedshiftStream; import com.amazon.red...
8,162
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/Portal.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ // Copyright (c) 2004, Open Cloud Limited. package com.amazon.redshift.core.v3; import com.amazon.redshift.core.ResultCursor; import com.amazon.redshift.core.Utils; import java.lang.ref...
8,163
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/RedshiftRowsBlockingQueue.java
package com.amazon.redshift.core.v3; import java.sql.SQLException; // import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicLong; import java.util.concurrent.locks.Condition; import java.util.concu...
8,164
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/DescribeRequest.java
/* * Copyright (c) 2015, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core.v3; /** * Information for "pending describe queue". * * @see QueryExecutorImpl#pendingDescribeStatementQueue */ class DescribeRequest { public fina...
8,165
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/ExecuteRequest.java
/* * Copyright (c) 2015, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core.v3; /** * Information for "pending execute queue". * * @see QueryExecutorImpl#pendingExecuteQueue */ class ExecuteRequest { public final SimpleQuer...
8,166
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/CompositeParameterList.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ // Copyright (c) 2004, Open Cloud Limited. package com.amazon.redshift.core.v3; import com.amazon.redshift.core.ParameterList; import com.amazon.redshift.util.ByteStreamWriter; import co...
8,167
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/BatchedQuery.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core.v3; import com.amazon.redshift.core.NativeQuery; import com.amazon.redshift.core.ParameterList; import com.amazon.redshift.logger.RedshiftLogger; /** *...
8,168
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/CopyQueryExecutor.java
package com.amazon.redshift.core.v3; import java.io.IOException; import java.sql.SQLException; import java.util.concurrent.atomic.AtomicBoolean; import com.amazon.redshift.copy.CopyIn; import com.amazon.redshift.copy.CopyOperation; import com.amazon.redshift.copy.CopyOut; import com.amazon.redshift.core.RedshiftStrea...
8,169
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/ConnectionFactoryImpl.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ // Copyright (c) 2004, Open Cloud Limited. package com.amazon.redshift.core.v3; import com.amazon.redshift.RedshiftProperty; import com.amazon.redshift.core.ConnectionFactory; import com...
8,170
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/CopyOutImpl.java
/* * Copyright (c) 2009, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core.v3; import com.amazon.redshift.copy.CopyOut; import java.sql.SQLException; /** * <p>Anticipated flow of a COPY TO STDOUT operation:</p> * * <p>CopyM...
8,171
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/CopyDualImpl.java
/* * Copyright (c) 2016, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core.v3; import com.amazon.redshift.copy.CopyDual; import com.amazon.redshift.util.ByteStreamWriter; import com.amazon.redshift.util.RedshiftException; impor...
8,172
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/SimpleQuery.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ // Copyright (c) 2004, Open Cloud Limited. package com.amazon.redshift.core.v3; import com.amazon.redshift.core.Field; import com.amazon.redshift.core.NativeQuery; import com.amazon.reds...
8,173
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/replication/V3RedshiftReplicationStream.java
/* * Copyright (c) 2016, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core.v3.replication; import com.amazon.redshift.copy.CopyDual; import com.amazon.redshift.logger.LogLevel; import com.amazon.redshift.logger.RedshiftLogger; i...
8,174
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/core/v3/replication/V3ReplicationProtocol.java
/* * Copyright (c) 2016, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.core.v3.replication; import com.amazon.redshift.copy.CopyDual; import com.amazon.redshift.core.RedshiftStream; import com.amazon.redshift.core.QueryExecutor; ...
8,175
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/jdbc42/Driver.java
package com.amazon.redshift.jdbc42; /* * Class retained for backwards compatibility */ public class Driver extends com.amazon.redshift.jdbc.Driver { }
8,176
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/jdbc42/DataSource.java
package com.amazon.redshift.jdbc42; /* * Class retained for backwards compatibility */ public class DataSource extends com.amazon.redshift.jdbc.DataSource { }
8,177
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/logger/LogWriterHandler.java
package com.amazon.redshift.logger; import java.io.IOException; import java.io.Writer; public class LogWriterHandler implements LogHandler { private final Writer writer; public LogWriterHandler(Writer inWriter) throws Exception { writer = inWriter; } @Override public synchronized void write(String ...
8,178
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/logger/LogHandler.java
package com.amazon.redshift.logger; public interface LogHandler { /** * Write the message using this handler. * This can be a file or console. * * @param message Log entry * @throws Exception throws when any error happens during write operation. */ public void write(String message) throws Exception; ...
8,179
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/logger/LogFileHandler.java
package com.amazon.redshift.logger; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.regex.Matcher; import java.util.regex.Pattern; impor...
8,180
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/logger/LogLevel.java
package com.amazon.redshift.logger; import java.util.ArrayList; public enum LogLevel { /* * OFF < ERROR < INFO < FUNCTION < DEBUG */ OFF, ERROR, INFO, FUNCTION, DEBUG; private static ArrayList<String> names = new ArrayList<String>(); static { names.add("OFF"); names.add("ERROR")...
8,181
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/logger/LogConsoleHandler.java
package com.amazon.redshift.logger; import java.io.PrintWriter; public class LogConsoleHandler implements LogHandler { private final PrintWriter writer = new PrintWriter(System.out); @Override public synchronized void write(String message) throws Exception { writer.println(message); writer.flus...
8,182
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/logger/RedshiftLogger.java
package com.amazon.redshift.logger; import java.io.File; import java.io.PrintWriter; import java.io.StringWriter; import java.sql.DriverManager; import java.text.FieldPosition; import java.text.MessageFormat; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.Date; import java.util.Iterator; ...
8,183
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/util/QuerySanitizer.java
package com.amazon.redshift.util; import java.util.Objects; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * The utility class implements credentials removal from query text. It is based on the PADB * implementation in padb/src/xen_utils/log_statement.cpp with the following change: it will appl...
8,184
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/util/RedshiftState.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.util; /** * This class is used for holding SQLState codes. */ public enum RedshiftState { UNKNOWN_STATE(""), TOO_MANY_RESULTS("0100E"), NO_DATA("02...
8,185
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/util/RedshiftProperties.java
package com.amazon.redshift.util; import com.amazon.redshift.RedshiftProperty; import java.util.Locale; import java.util.Properties; import java.util.Enumeration; import java.util.Collections; public class RedshiftProperties extends Properties { /** * Creates an empty property list with no default values. ...
8,186
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/util/HostSpec.java
/* * Copyright (c) 2012, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.util; import static java.util.regex.Pattern.compile; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Simple container for host and po...
8,187
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/util/RedshiftInterval.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.util; import java.io.Serializable; import java.sql.SQLException; import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.Calendar; imp...
8,188
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/util/RedshiftVarbyte.java
package com.amazon.redshift.util; // Right now most of methods in base class. // In future, if there are differences in bytes conversion of VARBYTE and GEOGRAPHY // then we can add more methods in this class. public class RedshiftVarbyte extends RedshiftByteTypes{ }
8,189
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/util/HStoreConverter.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.util; import com.amazon.redshift.core.Encoding; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.sql.SQLException; import java.u...
8,190
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/util/RedshiftBinaryObject.java
/* * Copyright (c) 2011, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.util; import java.sql.SQLException; /** * RedshiftBinaryObject is an interface that classes extending {@link RedshiftObject} can use to take advantage of *...
8,191
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/util/Base64.java
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.util; /** * <p>This code is a stripped down version of Robert Harder's Public Domain Base64 implementation. GZIP * support, InputStream and OutputStream stu...
8,192
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/util/ExtensibleDigest.java
package com.amazon.redshift.util; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; /** * Extensible hashing utility function to obfuscate passwords before network transmission. * */ public class ExtensibleDigest { private ExtensibleDigest() { } /** * Encodes user/passwor...
8,193
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/util/RedshiftTime.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.util; import java.sql.PreparedStatement; import java.sql.Time; import java.util.Calendar; /** * This class augments the Java built-in Time to allow for expl...
8,194
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/util/CanEstimateSize.java
/* * Copyright (c) 2015, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.util; public interface CanEstimateSize { long getSize(); }
8,195
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/util/URLCoder.java
/* * Copyright (c) 2018, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.util; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.net.URLEncoder; /** * <p>This class helps with URL encoding and d...
8,196
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/util/ByteStreamWriter.java
/* * Copyright (c) 2020, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.util; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; /** * A class that can be used to set a byte array parameter by w...
8,197
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/util/ReaderInputStream.java
/* * Copyright (c) 2016, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.util; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.c...
8,198
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/util/RedshiftIntervalYearToMonth.java
package com.amazon.redshift.util; import java.io.Serializable; import java.sql.SQLException; import java.text.DecimalFormat; import java.util.Locale; import com.amazon.redshift.util.RedshiftInterval; public class RedshiftIntervalYearToMonth extends RedshiftInterval implements ...
8,199