index
int64
0
0
repo_id
stringlengths
26
205
file_path
stringlengths
51
246
content
stringlengths
8
433k
__index_level_0__
int64
0
10k
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/AuthMech.java
package com.amazon.redshift; /** * Provided authentication mechanism type enum. */ public enum AuthMech { /** * Indicates the mechanism type is non-SSL. */ DISABLE, /** * Indicates that the mechanism type is using non-SSL first and then SSL if non-SSL fails. */ ALLOW, /** ...
8,300
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/ssl/SingleCertValidatingFactory.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.ssl; import com.amazon.redshift.util.GT; import java.io.BufferedInputStream; import java.io.ByteArrayInputStream; import java.io.FileInputStream; import java...
8,301
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/ssl/PKCS12KeyManager.java
/* * Copyright (c) 2019, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.ssl; import com.amazon.redshift.util.GT; import com.amazon.redshift.util.RedshiftException; import com.amazon.redshift.util.RedshiftState; import java.io.Fil...
8,302
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/ssl/NonValidatingFactory.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.ssl; import java.security.GeneralSecurityException; import java.security.cert.X509Certificate; import javax.net.ssl.SSLContext; import javax.net.ssl.TrustMan...
8,303
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/ssl/DbKeyStoreSocketFactory.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.ssl; import java.io.InputStream; import java.security.KeyStore; import javax.net.ssl.KeyManagerFactory; import javax.net.ssl.SSLContext; import javax.net.ssl...
8,304
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/ssl/DefaultJavaSSLFactory.java
/* * Copyright (c) 2017, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.ssl; import java.util.Properties; import javax.net.ssl.SSLSocketFactory; /** * Socket factory that uses Java's default truststore to validate server certif...
8,305
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/ssl/LazyKeyManager.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.ssl; import com.amazon.redshift.util.GT; import com.amazon.redshift.util.RedshiftException; import com.amazon.redshift.util.RedshiftState; import java.io.Fil...
8,306
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/ssl/RedshiftjdbcHostnameVerifier.java
/* * Copyright (c) 2018, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.ssl; import com.amazon.redshift.logger.LogLevel; import com.amazon.redshift.logger.RedshiftLogger; import com.amazon.redshift.util.GT; import java.net.IDN; i...
8,307
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/ssl/LibPQFactory.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.ssl; import com.amazon.redshift.RedshiftProperty; import com.amazon.redshift.jdbc.SslMode; import com.amazon.redshift.ssl.NonValidatingFactory.NonValidatingTM...
8,308
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/ssl/WrappedFactory.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.ssl; import java.io.IOException; import java.net.InetAddress; import java.net.Socket; import javax.net.ssl.SSLSocketFactory; /** * Provide a wrapper to a r...
8,309
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/ssl/MakeSSL.java
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.ssl; import com.amazon.redshift.RedshiftProperty; import com.amazon.redshift.core.RedshiftStream; import com.amazon.redshift.core.SocketFactoryFactory; import...
8,310
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/ssl
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/ssl/jdbc4/LibPQFactory.java
/* * Copyright (c) 2017, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.ssl.jdbc4; import com.amazon.redshift.jdbc.SslMode; import com.amazon.redshift.ssl.RedshiftjdbcHostnameVerifier; import com.amazon.redshift.util.RedshiftExcep...
8,311
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/hostchooser/HostStatus.java
/* * Copyright (c) 2014, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.hostchooser; /** * Known state of a server. */ public enum HostStatus { ConnectFail, ConnectOK, Primary, Secondary }
8,312
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/hostchooser/HostChooser.java
/* * Copyright (c) 2014, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.hostchooser; import java.util.Iterator; /** * Lists connections in preferred order. */ public interface HostChooser extends Iterable<CandidateHost> { /**...
8,313
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/hostchooser/HostRequirement.java
/* * Copyright (c) 2014, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.hostchooser; /** * Describes the required server type. */ public enum HostRequirement { any { public boolean allowConnectingTo(HostStatus status) { ...
8,314
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/hostchooser/MultiHostChooser.java
/* * Copyright (c) 2014, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.hostchooser; import static java.util.Collections.shuffle; import com.amazon.redshift.RedshiftProperty; import com.amazon.redshift.util.HostSpec; import com.a...
8,315
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/hostchooser/HostChooserFactory.java
/* * Copyright (c) 2014, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.hostchooser; import com.amazon.redshift.util.HostSpec; import java.util.Properties; /** * Chooses a {@link HostChooser} instance based on the number of hos...
8,316
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/hostchooser/GlobalHostStatusTracker.java
/* * Copyright (c) 2014, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.hostchooser; import com.amazon.redshift.util.HostSpec; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /*...
8,317
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/hostchooser/CandidateHost.java
/* * Copyright (c) 2017, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.hostchooser; import com.amazon.redshift.util.HostSpec; /** * Candidate host to be connected. */ public class CandidateHost { public final HostSpec hostSp...
8,318
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/hostchooser/SingleHostChooser.java
/* * Copyright (c) 2014, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package com.amazon.redshift.hostchooser; import com.amazon.redshift.util.HostSpec; import java.util.Collection; import java.util.Collections; import java.util.Iterator; /** * Host cho...
8,319
0
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/httpclient
Create_ds/amazon-redshift-jdbc-driver/src/main/java/com/amazon/redshift/httpclient/log/IamCustomLogFactory.java
package com.amazon.redshift.httpclient.log; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogConfigurationException; import org.apache.commons.logging.impl.LogFactoryImpl; import org.apache.commons.logging.impl.NoOpLog; /** * This class provides an implementation of LogFactoryImpl that wil...
8,320
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,321
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,322
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,323
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,324
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,325
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,326
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,327
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,328
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,329
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,330
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,331
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,332
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,333
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,334
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,335
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,336
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,337
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,338
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,339
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,340
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,341
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,342
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,343
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,344
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,345
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,346
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,347
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,348
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,349
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,350
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,351
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,352
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,353
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,354
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,355
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,356
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,357
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,358
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,359
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,360
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,361
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,362
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,363
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,364
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,365
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,366
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,367
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,368
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,369
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,370
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,371
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,372
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,373
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,374
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,375
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,376
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,377
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,378
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,379
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,380
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,381
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,382
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,383
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,384
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,385
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,386
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,387
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,388
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,389
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,390
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,391
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,392
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,393
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,394
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,395
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,396
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,397
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,398
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,399