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/hera/client/java/jdbc/src/test/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera/jdbc/PgCurdTest.java
package com.paypal.hera.jdbc; import com.paypal.hera.conf.HeraClientConfigHolder; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import java.io.IOException; import java.sql.*; import java.util.Properties; public class PgCurdTest { static String host = Sy...
800
0
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera/jdbc/MySqlTxnTest.java
package com.paypal.hera.jdbc; import java.net.*; import java.nio.file.*; import java.io.*; import java.io.IOException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.Prope...
801
0
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera/jdbc/MySqlTestSuite.java
package com.paypal.hera.jdbc; import com.paypal.hera.micrometer.MicrometerTest; import org.junit.AfterClass; import org.junit.runner.RunWith; import org.junit.runners.Suite; import java.io.IOException; @RunWith(Suite.class) @Suite.SuiteClasses({ MySqlLastInsertIdTest.class, MySqlTxnTest.class, ...
802
0
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera/jdbc/ClientTest.java
package com.paypal.hera.jdbc; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Method; import java.math.BigDecimal; import java.sql.Blob; import java.sql.CallableStatement; import java.sql.Clob; import java.sql.Connection; import java.sql.Date; impor...
803
0
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera/jdbc/PostgresTxnTest.java
package com.paypal.hera.jdbc; import com.paypal.hera.client.HeraClientImpl; import org.junit.*; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.sql.*; /** * * see ClientTest.java for tables setup * */ public class PostgresTxnTest { static final Logger LOGGER = ...
804
0
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera/jdbc/HeraJdbcDriverConstantsTest.java
package com.paypal.hera.jdbc; import com.paypal.hera.constants.HeraJdbcDriverConstants; import org.junit.Assert; import org.junit.Test; import java.util.ArrayList; import java.util.List; public class HeraJdbcDriverConstantsTest { @Test public void testInitialisation() { HeraJdbcDriverConstants consta...
805
0
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera/jdbc/ShardingTest.java
package com.paypal.hera.jdbc; import java.io.IOException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.Properties; import org.junit.After; import org.junit.Assert; impo...
806
0
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera/jdbc/HeraDatabaseMetadataTest.java
package com.paypal.hera.jdbc; import com.paypal.hera.conf.HeraClientConfigHolder; import org.junit.Assert; import org.junit.Test; import java.io.IOException; import java.sql.DriverManager; import java.sql.SQLException; import java.util.Properties; public class HeraDatabaseMetadataTest { private static HeraConne...
807
0
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera/jdbc/AllTestSuite.java
package com.paypal.hera.jdbc; import org.junit.runner.RunWith; import org.junit.runners.Suite; @RunWith(Suite.class) @Suite.SuiteClasses({ MySqlTestSuite.class, PostgresTestSuite.class, }) public class AllTestSuite { }
808
0
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera/jdbc/UtilPostgres.java
package com.paypal.hera.jdbc; import java.net.*; import java.nio.file.*; import java.io.*; import java.io.IOException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.Prope...
809
0
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera/jdbc/MySqlLastInsertIdTest.java
package com.paypal.hera.jdbc; import java.io.IOException; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.util.Properties; import com.paypal.hera.conf.HeraConnectionConfig; imp...
810
0
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/test/java/com/paypal/hera/client/NetstringWriterTest.java
package com.paypal.hera.client; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import java.sql.SQLException; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import com.paypal.hera.client.NetstringWriter; import com.paypa...
811
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/util/NetStringObj.java
package com.paypal.hera.util; import java.util.ArrayList; import java.io.ByteArrayInputStream; import java.io.InputStream; import java.io.IOException; import java.io.ByteArrayOutputStream; import java.io.OutputStream; /** * <p>NetStringObj class.</p> */ public final class NetStringObj { private static final byt...
812
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/util/HeraSqlTokenAnalyzer.java
package com.paypal.hera.util; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Stack; import java.util.regex.Match...
813
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/util/Pair.java
package com.paypal.hera.util; public class Pair<T1, T2> { private T1 first; private T2 second; public void setFirst(T1 _first) { first = _first; } public void setSecond(T2 _second) { second = _second; } public Pair(T1 _first, T2 _second) { first = _first; second = _second; } public T1 getFirst()...
814
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/util/OCCJDBCMetrics.java
package com.paypal.hera.util; import io.micrometer.core.instrument.Counter; import io.micrometer.core.instrument.Timer; public class OCCJDBCMetrics { String sqlHash; private Counter execFailCounter; private Counter execSuccessCounter; private Counter fetchFailCounter; private Counter fetchSuccess...
815
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/util/HeraStatementsCache.java
package com.paypal.hera.util; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import com.paypal.hera.cal.ClsLogOutputHelper; import com.paypal.hera.jdbc.HeraDriver; import org.slf4j.Logger; import or...
816
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/util/HeraJdbcConverter.java
package com.paypal.hera.util; import java.io.UnsupportedEncodingException; import java.math.BigDecimal; import java.sql.Blob; import java.sql.Clob; import java.sql.Date; import java.sql.SQLFeatureNotSupportedException; import java.sql.Time; import java.sql.Timestamp; import java.text.ParseException; import java.text.S...
817
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/util/BoundLRUCaches.java
package com.paypal.hera.util; import java.util.LinkedHashMap; import java.util.Map.Entry; public class BoundLRUCaches<T> extends LinkedHashMap<String, T> { private static final long serialVersionUID = 6569697570036353693L; private int max; private String key; public BoundLRUCaches(int _max, String _key) { max =...
818
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/util/HeraStatementsCachePool.java
package com.paypal.hera.util; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; public class HeraStatementsCachePool { private final static int STMT_CACHE_SIZE = 1000; static Map<String, HeraStatementsCache> s_caches = new ConcurrentHashMap<String, HeraStatementsCache>(); public static HeraSta...
819
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/util/HeraColumnMeta.java
package com.paypal.hera.util; public class HeraColumnMeta { String name; int type; int width; int precision; int scale; public String getName() { return name; } public void setName(String name) { this.name = name; } public int getType() { return type; } public void setType(int type) { this.type =...
820
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/util/HeraQueryParamNameBindingCache.java
package com.paypal.hera.util; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; public class HeraQueryParamNameBindingCache { private static HeraQueryParamNameBindingCache instance = new HeraQueryParamNameBindingCache(); private Map<String, Map<String, String>> cache = new ConcurrentHashMap<Stri...
821
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/util/HeraAggregatedMetrics.java
package com.paypal.hera.util; import io.micrometer.core.instrument.Counter; import io.micrometer.core.instrument.Metrics; import io.micrometer.core.instrument.Tag; import io.micrometer.core.instrument.Timer; import java.util.Arrays; import java.util.concurrent.ConcurrentHashMap; import static com.paypal.hera.constan...
822
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/util/MurmurHash3.java
package com.paypal.hera.util; /** * The MurmurHash3 algorithm was created by Austin Appleby and placed in the public domain. * This java port was authored by Yonik Seeley and also placed into the public domain. * The author hereby disclaims copyright to this source code. * <p> * This produces exactly the sam...
823
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/util/NetStringConstants.java
package com.paypal.hera.util; public class NetStringConstants { // NetString Character Constants public static final byte CHARACTER_COMMA = 44; public static final byte CHARACTER_COLON = 58; public static final byte CHARACTER_ZERO = 48; public static final byte CHARACTER_SPACE = 32; // Cryptoserv Server Comman...
824
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/util/HeraJdbcUtil.java
package com.paypal.hera.util; import java.io.UnsupportedEncodingException; import java.sql.SQLException; import java.sql.SQLFeatureNotSupportedException; import java.sql.Statement; import java.util.HashMap; import java.util.Map; import com.paypal.hera.constants.HeraConstants; public class HeraJdbcUtil { static priv...
825
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/util/ConnectionMetaInfo.java
package com.paypal.hera.util; /** * Created by alwjoseph on 8/13/18. */ public class ConnectionMetaInfo { private String serverBoxName; public String getServerBoxName() { return serverBoxName; } public void setServerBoxName(String serverBoxName) { this.serverBoxName = serverBoxName;...
826
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/constants/Consts.java
package com.paypal.hera.constants; public class Consts { // config public static final String CONFIG_NAME_HERA_PROPERTIES_RESOURCE = "hera_resource"; public static final String DEFAULT_HERA_PROPERTIES_RESOURCE = "app.properties"; public static final String CONFIG_NAME_PROP_HOST_IP = "hera_host_ip"; public static ...
827
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/constants/BindType.java
package com.paypal.hera.constants; public enum BindType { HERA_TYPE_STRING(0), HERA_TYPE_BLOB(1), HERA_TYPE_CLOB(2), HERA_TYPE_RAW(3), HERA_TYPE_BLOB_SINGLE_ROUND(4), HERA_TYPE_CLOB_SINGLE_ROUND(5), HERA_TYPE_TIMESTAMP(6), HERA_TYPE_TIMESTAMP_TZ(7), HERA_TYPE_BOOLEAN(8), HERA_TYPE_INT(9); private final ...
828
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/constants/MicrometerConsts.java
package com.paypal.hera.constants; public class MicrometerConsts { public static final String EXEC_TIMER = "pp.hera.dal.exec"; public static final String EXEC_TIMER_DESCRIPTION = "This metric records the total duration of an EXEC transaction of a certain SQL. It can also describe the max, average, 50th, 90th a...
829
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/constants/HeraConstants.java
package com.paypal.hera.constants; public class HeraConstants { // server commands infra/utility/core/net/ServerCommands.h public static final int SERVER_CHALLENGE = 1001; public static final int SERVER_CONNECTION_ACCEPTED = 1002; public static final int SERVER_CONNECTION_REJECTED_PROTOCOL = 1003; public static f...
830
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/constants/HeraJdbcDriverConstants.java
package com.paypal.hera.constants; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; public class HeraJdbcDriverConstants { public static final int DB_MACHINEN...
831
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/ex/HeraSQLException.java
package com.paypal.hera.ex; public class HeraSQLException extends HeraExceptionBase { private static final long serialVersionUID = 6594041140506886608L; public HeraSQLException(String _message) { super(_message); } public HeraSQLException(String string, Throwable e) { super(string, e); } }
832
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/ex/HeraIOException.java
package com.paypal.hera.ex; import java.io.IOException; import com.paypal.hera.util.ConnectionMetaInfo; @SuppressWarnings("serial") public class HeraIOException extends HeraExceptionBase { public HeraIOException(String _message) { super(_message); } public HeraIOException(IOException _ex) { super(_ex); } p...
833
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/ex/HeraInternalErrorException.java
package com.paypal.hera.ex; @SuppressWarnings("serial") public class HeraInternalErrorException extends HeraExceptionBase { public HeraInternalErrorException(String message) { super(message); } }
834
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/ex/HeraExceptionBase.java
package com.paypal.hera.ex; import java.sql.SQLException; @SuppressWarnings("serial") public class HeraExceptionBase extends SQLException { public HeraExceptionBase(String message) { super(message); } public HeraExceptionBase(Throwable cause) { super(cause); } public HeraExceptionBase(String string, Throw...
835
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/ex/HeraClientException.java
package com.paypal.hera.ex; public class HeraClientException extends HeraExceptionBase { private static final long serialVersionUID = -7150993755256340562L; public HeraClientException(String _message) { super(_message); } public HeraClientException(String string, Throwable cause) { super(string, cause); } ...
836
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/ex/HeraTimeoutException.java
package com.paypal.hera.ex; @SuppressWarnings("serial") public class HeraTimeoutException extends HeraExceptionBase { public HeraTimeoutException(String _message) { super(_message); } }
837
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/ex/HeraProtocolException.java
package com.paypal.hera.ex; @SuppressWarnings("serial") public class HeraProtocolException extends HeraExceptionBase { public HeraProtocolException(String _message) { super(_message); } }
838
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/ex/HeraConfigException.java
package com.paypal.hera.ex; public class HeraConfigException extends HeraExceptionBase { private static final long serialVersionUID = 276589649083879310L; public HeraConfigException(String _message) { super(_message); } public HeraConfigException(Throwable cause) { super(cause); } public HeraConfigExcepti...
839
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/ex/HeraRuntimeException.java
package com.paypal.hera.ex; import java.sql.SQLException; @SuppressWarnings("serial") public class HeraRuntimeException extends HeraExceptionBase { public HeraRuntimeException(String message) { super(message); } public HeraRuntimeException(SQLException e) { super(e.getMessage()); } }
840
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/cal/CalPoolStackInfo.java
package com.paypal.hera.cal; public class CalPoolStackInfo { public static CalPoolStackInfo getCalPoolStackInfo() { return new CalPoolStackInfo(); } // TODO: implement public String getPoolStack() { return "None"; } }
841
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/cal/CalTransaction.java
package com.paypal.hera.cal; import java.io.IOException; public class CalTransaction { private String name; private String status; public void setName(String _name) { // TODO Auto-generated method stub name = _name; } public void addData(String string, String serverLogicalName) { // TODO Auto-generated ...
842
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/cal/CalTransactionHelper.java
package com.paypal.hera.cal; public class CalTransactionHelper { public static CalTransaction getTopTransaction() { // TODO Auto-generated method stub return new CalTransaction(); } }
843
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/cal/ClsLogOutputHelper.java
package com.paypal.hera.cal; public class ClsLogOutputHelper { public static long writeSQLStmt(String sql) { // TODO Auto-generated method stub return 0; } }
844
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/cal/CalTransactionFactory.java
package com.paypal.hera.cal; public class CalTransactionFactory { public static CalTransaction create(String string) { // TODO Auto-generated method stub return new CalTransaction(); } }
845
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/cal/CalStream.java
package com.paypal.hera.cal; public class CalStream { static CalStream Instance = new CalStream(); public CalTransaction transaction(String string) { // TODO Auto-generated method stub return new CalTransaction(); } }
846
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/cal/CalStreamUtils.java
package com.paypal.hera.cal; public class CalStreamUtils { static CalStreamUtils instance = new CalStreamUtils(); public static CalStreamUtils getInstance() { // TODO Auto-generated method stub return instance; } public CalStream getDefaultCalStream() { // TODO Auto-generated method stub return CalStream.I...
847
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/cal/CalClientConfigMXBeanImpl.java
package com.paypal.hera.cal; public class CalClientConfigMXBeanImpl { static CalClientConfigMXBeanImpl instance = new CalClientConfigMXBeanImpl(); public static CalClientConfigMXBeanImpl getInstance() { return instance; } // TODO: implement this public String getPoolname() { return "hera"; } }
848
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/cal/StackTrace.java
package com.paypal.hera.cal; import java.sql.SQLException; public class StackTrace { public static String getStackTrace(SQLException e) { // TODO Auto-generated method stub return "N/A"; } }
849
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/jdbc/HeraConnection.java
package com.paypal.hera.jdbc; import java.net.SocketException; import java.sql.Array; import java.sql.Blob; import java.sql.CallableStatement; import java.sql.ClientInfoStatus; import java.sql.Clob; import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.NClob; import java.sql.PreparedStatement; ...
850
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/jdbc/HeraPreparedStatement.java
package com.paypal.hera.jdbc; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.ObjectOutputStream; import java.io.Reader; import java.io.StringReader; import java.io.UnsupportedEncodingException; import java.math.BigDecima...
851
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/jdbc/HeraCallableStatement.java
package com.paypal.hera.jdbc; import java.io.InputStream; import java.io.Reader; import java.math.BigDecimal; import java.net.URL; import java.nio.ByteBuffer; import java.sql.Array; import java.sql.Blob; import java.sql.CallableStatement; import java.sql.Clob; import java.sql.Date; import java.sql.NClob; import java.s...
852
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/jdbc/HeraBlob.java
package com.paypal.hera.jdbc; import java.io.ByteArrayInputStream; import java.io.InputStream; import java.io.OutputStream; import java.sql.Blob; import java.sql.SQLException; import java.sql.SQLFeatureNotSupportedException; import com.paypal.hera.util.HeraJdbcUtil; public class HeraBlob implements Blob { private b...
853
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/jdbc/HeraDriver.java
package com.paypal.hera.jdbc; import java.sql.Connection; import java.sql.Driver; import java.sql.DriverManager; import java.sql.DriverPropertyInfo; import java.sql.SQLException; import java.sql.SQLFeatureNotSupportedException; import java.util.Map; import java.util.Properties; import java.util.Set; import java.util.S...
854
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/jdbc/HeraClob.java
package com.paypal.hera.jdbc; import java.io.InputStream; import java.io.OutputStream; import java.io.Reader; import java.io.StringReader; import java.io.Writer; import java.sql.Clob; import java.sql.SQLException; import java.sql.SQLFeatureNotSupportedException; import com.paypal.hera.util.HeraJdbcConverter; import c...
855
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/jdbc/HeraStatement.java
package com.paypal.hera.jdbc; import java.io.IOException; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.SQLFeatureNotSupportedException; import java.sql.SQLWarning; import java.sql.Statement; import java.util.ArrayList; import java.util.HashMap; import com.paypal...
856
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/jdbc/HeraResultSet.java
package com.paypal.hera.jdbc; import java.io.ByteArrayInputStream; import java.io.InputStream; import java.io.Reader; import java.io.StringReader; import java.math.BigDecimal; import java.net.URL; import java.sql.Array; import java.sql.Blob; import java.sql.Clob; import java.sql.Date; import java.sql.NClob; import jav...
857
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/jdbc/HeraResultSetMetaData.java
package com.paypal.hera.jdbc; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import java.sql.Types; import com.paypal.hera.ex.HeraInternalErrorException; import com.paypal.hera.util.HeraColumnMeta; public class HeraResultS...
858
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/jdbc/HeraDatabaseMetadata.java
package com.paypal.hera.jdbc; import java.sql.*; import com.paypal.hera.conf.HeraClientConfigHolder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class HeraDatabaseMetadata implements DatabaseMetaData { final Logger LOGGER = LoggerFactory.getLogger(HeraDatabaseMetadata.class); private HeraConn...
859
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/conf/HeraConnectionConfig.java
package com.paypal.hera.conf; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.Properties; import com.paypal.hera.ex.HeraConfigException; public class HeraConnectionConfig extends BaseHeraConfiguration { static final int MAX_BUFFER_SIZE = 64 * 1024; static final int MAX_TIMEOUT...
860
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/conf/HeraClientConfigHolder.java
package com.paypal.hera.conf; import java.util.*; import com.paypal.hera.constants.HeraConstants; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.paypal.hera.conn.HeraClientConnectionFactory; import com.paypal.hera.ex.HeraConfigException; public final class HeraClientConfigHolder extends BaseHer...
861
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/conf/BaseHeraConfiguration.java
package com.paypal.hera.conf; import java.util.Properties; import com.paypal.hera.ex.HeraConfigException; public class BaseHeraConfiguration { protected final Properties config; public BaseHeraConfiguration(Properties props) { this.config = props; } protected final Integer validateAndReturnDefaultInt(String...
862
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/client/NetstringReader.java
package com.paypal.hera.client; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Iterator; import com.paypal.hera.util.NetStringObj; public class NetstringReader { private InputStream is; ArrayList<NetStringObj> responses; ...
863
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/client/HeraClient.java
package com.paypal.hera.client; import java.net.SocketException; import java.sql.SQLException; import java.util.ArrayList; import com.paypal.hera.constants.BindType; import com.paypal.hera.ex.HeraClientException; import com.paypal.hera.ex.HeraExceptionBase; import com.paypal.hera.ex.HeraIOException; import com.paypal...
864
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/client/NetstringWriter.java
package com.paypal.hera.client; import java.io.BufferedOutputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import com.paypal.hera.ex.HeraIOException; import com.paypal.hera.util.NetStringConstants; import com.paypal.hera.util.HeraJdbcConverter; public class Ne...
865
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/client/HeraClientImpl.java
package com.paypal.hera.client; import com.paypal.hera.cal.CalClientConfigMXBeanImpl; import com.paypal.hera.cal.CalPoolStackInfo; import com.paypal.hera.cal.CalStreamUtils; import com.paypal.hera.cal.CalTransaction; import com.paypal.hera.cal.CalTransactionFactory; import com.paypal.hera.cal.CalTransactionHelper; imp...
866
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/client/HeraClientFactory.java
package com.paypal.hera.client; import com.paypal.hera.conf.HeraClientConfigHolder; import com.paypal.hera.conn.HeraClientConnection; import com.paypal.hera.conn.HeraClientConnectionFactory; import com.paypal.hera.ex.HeraExceptionBase; public class HeraClientFactory { public static HeraClient createClient(HeraClient...
867
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/conn/HeraClientConnectionFactory.java
package com.paypal.hera.conn; import java.util.Properties; import com.paypal.hera.ex.HeraConfigException; import com.paypal.hera.ex.HeraIOException; public interface HeraClientConnectionFactory { HeraClientConnection createClientConnection(Properties props, String host, String port) throws HeraIOException, HeraCon...
868
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/conn/HeraTLSConnection.java
package com.paypal.hera.conn; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.Socket; import java.net.SocketAddress; import java.net.SocketException; import javax.net.ssl.SSLContext; import javax.net.s...
869
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/conn/HeraTCPConnection.java
package com.paypal.hera.conn; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.InetAddress; import java.net.InetSocketAddress; import java.net.Socket; import java.net.SocketAddress; import java.net.SocketException; import javax.net.ssl.SSLContext; import javax.net.s...
870
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/conn/HeraTCPConnectionFactory.java
package com.paypal.hera.conn; import java.util.Properties; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.paypal.hera.conf.HeraConnectionConfig; import com.paypal.hera.ex.HeraConfigException; import com.paypal.hera.ex.HeraIOException; public class HeraTCPConnectionFactory implements HeraClientC...
871
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/conn/HeraTLSConnectionFactory.java
package com.paypal.hera.conn; import java.util.Properties; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.paypal.hera.conf.HeraConnectionConfig; import com.paypal.hera.ex.HeraConfigException; import com.paypal.hera.ex.HeraIOException; public class HeraTLSConnectionFactory implements HeraClientC...
872
0
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera
Create_ds/hera/client/java/jdbc/src/main/java/com/paypal/hera/conn/HeraClientConnection.java
package com.paypal.hera.conn; import java.io.InputStream; import java.io.OutputStream; import java.net.SocketException; import com.paypal.hera.ex.HeraIOException; public interface HeraClientConnection { public OutputStream getOutputStream(); public InputStream getInputStream(); public void close() throws HeraIOEx...
873
0
Create_ds/hera/client/java/examples/client/src/main/java/com/paypal/hera
Create_ds/hera/client/java/examples/client/src/main/java/com/paypal/hera/example/Client.java
package com.paypal.hera.example; import java.sql.*; import java.util.Properties; public class Client { public static void main(String[] args) throws ClassNotFoundException, SQLException { String host = System.getProperty("SERVER_URL", "1:127.0.0.1:11111"); Properties props = new Properties(); ...
874
0
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/Test1/src
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/Test1/src/android/Test1.java
./dependencies/Test1/src/android/Test1.java
875
0
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/meta/subdir/E/src
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/meta/subdir/E/src/android/E.java
./dependencies/meta/subdir/E/src/android/E.java
876
0
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/meta/D/src
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/meta/D/src/android/D.java
./dependencies/meta/D/src/android/D.java
877
0
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/I/src
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/I/src/android/I.java
./dependencies/I/src/android/I.java
878
0
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/subdir/E/src
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/subdir/E/src/android/E.java
./dependencies/subdir/E/src/android/E.java
879
0
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/G/src
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/G/src/android/G.java
./dependencies/G/src/android/G.java
880
0
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/A/src
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/A/src/android/A.java
./dependencies/A/src/android/A.java
881
0
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/F/src
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/F/src/android/F.java
./dependencies/F/src/android/F.java
882
0
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/H/src
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/H/src/android/H.java
./dependencies/H/src/android/H.java
883
0
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/Test4/src
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/Test4/src/android/Test4.java
./dependencies/Test3/src/android/Test4.java
884
0
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/Test3/src
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/Test3/src/android/Test3.java
./dependencies/Test3/src/android/Test3.java
885
0
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/Test2/src
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/Test2/src/android/Test2.java
./dependencies/Test2/src/android/Test2.java
886
0
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/C/src
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/C/src/android/C.java
./dependencies/C/src/android/C.java
887
0
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/D/src
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/D/src/android/D.java
./dependencies/D/src/android/D.java
888
0
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/C@1.0.0/src
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/C@1.0.0/src/android/C.java
./dependencies/C@1.0.0/src/android/C.java
889
0
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/E/src
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/E/src/android/E.java
./dependencies/E/src/android/E.java
890
0
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/B/src
Create_ds/cordova-lib/spec/plugman/plugins/dependencies/B/src/android/B.java
./dependencies/B/src/android/B.java
891
0
Create_ds/cordova-lib/spec/plugman/plugins/org.test.plugins.dummyplugin/src
Create_ds/cordova-lib/spec/plugman/plugins/org.test.plugins.dummyplugin/src/android/DummyPlugin.java
./org.test.plugins.dummyplugin/src/android/DummyPlugin.java
892
0
Create_ds/cordova-lib/spec/plugman/plugins/org.test.plugins.childbrowser/src
Create_ds/cordova-lib/spec/plugman/plugins/org.test.plugins.childbrowser/src/android/ChildBrowser.java
./org.test.plugins.childbrowser/src/android/org.test.plugins.childbrowser.java
893
0
Create_ds/cordova-lib/templates/platforms
Create_ds/cordova-lib/templates/platforms/android/base.java
/** Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use...
894
0
Create_ds/activemq-activeio/activeio-core/src/test/java/org/apache
Create_ds/activemq-activeio/activeio-core/src/test/java/org/apache/activeio/PacketDataTest.java
/** * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you ...
895
0
Create_ds/activemq-activeio/activeio-core/src/test/java/org/apache/activeio
Create_ds/activemq-activeio/activeio-core/src/test/java/org/apache/activeio/journal/JournalPerfToolSupport.java
/** * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you ...
896
0
Create_ds/activemq-activeio/activeio-core/src/test/java/org/apache/activeio
Create_ds/activemq-activeio/activeio-core/src/test/java/org/apache/activeio/journal/JournalStatsFilter.java
/** * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you ...
897
0
Create_ds/activemq-activeio/activeio-core/src/test/java/org/apache/activeio
Create_ds/activemq-activeio/activeio-core/src/test/java/org/apache/activeio/journal/JournalRWPerfToolSupport.java
/** * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you ...
898
0
Create_ds/activemq-activeio/activeio-core/src/test/java/org/apache/activeio/journal
Create_ds/activemq-activeio/activeio-core/src/test/java/org/apache/activeio/journal/active/JournalRWPerfTool.java
/** * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you ...
899