bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public DataTypeDescriptor(DataTypeDescriptor source, boolean isNullable) { this.typeId = source.typeId; typeDescriptor = new TypeDescriptorImpl(source.typeDescriptor, source.getPrecision(), source.getScale(), isNullable, source.getMaximumWidth()); }
public DataTypeDescriptor(DataTypeDescriptor source, boolean isNullable) { this.typeId = source.typeId; typeDescriptor = new TypeDescriptorImpl(source.typeDescriptor, source.getPrecision(), source.getScale(), isNullable, source.getMaximumWidth()); }
1,102,222
public TupleDescriptor(DataDictionary dataDictionary) { this.dataDictionary = dataDictionary; }
public TupleDescriptor(DataDictionary dataDictionary) { this.dataDictionary = dataDictionary; }
1,102,225
public ColumnDescriptor getColumnDescriptor(int columnNumber) { return columnDescriptorList.getColumnDescriptor(oid, columnNumber); }
public ColumnDescriptor getColumnDescriptor(String columnName) { return columnDescriptorList.getColumnDescriptor(oid, columnNumber); }
1,102,226
public ColumnDescriptor getColumnDescriptor(int columnNumber) { return columnDescriptorList.getColumnDescriptor(oid, columnNumber); }
public ColumnDescriptor getColumnDescriptor(int columnNumber) { return columnDescriptorList.getColumnDescriptor(oid, columnName); }
1,102,227
public StaticTagScript(StaticTag tag) { super(tag); }
public StaticTagScript(StaticTag tag) { super(tag); }
1,102,228
protected int getNumJoinArguments() { return 12; }
protected int getNumJoinArguments() { return 11; }
1,102,230
public ProjectRestrictResultSet(NoPutResultSet s, Activation a, GeneratedMethod r, GeneratedMethod p, int resultSetNumber, GeneratedMethod cr, int mapRefItem, boolean reuseResult, boolean doesProjection, double optimizerEstimatedRowCount, double optimizerEstimatedCost, ...
ProjectRestrictResultSet(NoPutResultSet s, Activation a, GeneratedMethod r, GeneratedMethod p, int resultSetNumber, GeneratedMethod cr, int mapRefItem, boolean reuseResult, boolean doesProjection, double optimizerEstimatedRowCount, double optimizerEstimatedCost, Genera...
1,102,231
public ProjectRestrictResultSet(NoPutResultSet s, Activation a, GeneratedMethod r, GeneratedMethod p, int resultSetNumber, GeneratedMethod cr, int mapRefItem, boolean reuseResult, boolean doesProjection, double optimizerEstimatedRowCount, double optimizerEstimatedCost, ...
public ProjectRestrictResultSet(NoPutResultSet s, Activation a, GeneratedMethod r, GeneratedMethod p, int resultSetNumber, GeneratedMethod cr, int mapRefItem, boolean reuseResult, boolean doesProjection, double optimizerEstimatedRowCount, double optimizerEstimatedCost, ...
1,102,232
public ProjectRestrictResultSet(NoPutResultSet s, Activation a, GeneratedMethod r, GeneratedMethod p, int resultSetNumber, GeneratedMethod cr, int mapRefItem, boolean reuseResult, boolean doesProjection, double optimizerEstimatedRowCount, double optimizerEstimatedCost, ...
public ProjectRestrictResultSet(NoPutResultSet s, Activation a, GeneratedMethod r, GeneratedMethod p, int resultSetNumber, GeneratedMethod cr, int mapRefItem, boolean reuseResult, boolean doesProjection, double optimizerEstimatedRowCount, double optimizerEstimatedCost, ...
1,102,233
public void close() throws StandardException { /* Nothing to do if open was short circuited by false constant expression */ if (shortCircuitOpen) { isOpen = false; shortCircuitOpen = false; return; } beginTime = getCurrentTimeMillis(); if ( isOpen ) { // we don't want to keep around a pointer to the ...
public void close() throws StandardException { /* Nothing to do if open was short circuited by false constant expression */ if (shortCircuitOpen) { isOpen = false; shortCircuitOpen = false; return; } beginTime = getCurrentTimeMillis(); if ( isOpen ) { // we don't want to keep around a pointer to the ...
1,102,234
public void setRowArray(DataValueDescriptor[] rowArray);
public void setRowArray(Storable[] rowArray);
1,102,235
public void recordColumnReferences(boolean[] colArray1, JBitSet[] tableColMap, int tableNumber) { int size = size(); for (int index = 0; index < size; index++) { int columnNumber; ResultColumn rc = (ResultColumn) elementAt(index); if (! (rc.getExpression() instanceof ColumnReference)) { continue; } ...
public void recordColumnReferences(boolean[] colArray1, JBitSet[] tableColMap, int tableNumber) { int size = size(); for (int index = 0; index < size; index++) { int columnNumber; ResultColumn rc = (ResultColumn) elementAt(index); if (! (rc.getExpression() instanceof ColumnReference)) { continue; } ...
1,102,238
public void recordColumnReferences(boolean[] colArray1, JBitSet[] tableColMap, int tableNumber) { int size = size(); for (int index = 0; index < size; index++) { int columnNumber; ResultColumn rc = (ResultColumn) elementAt(index); if (! (rc.getExpression() instanceof ColumnReference)) { continue; } ...
public void recordColumnReferences(boolean[] colArray1, JBitSet[] tableColMap, int tableNumber) { int size = size(); for (int index = 0; index < size; index++) { ResultColumn rc = (ResultColumn) elementAt(index); if (! (rc.getExpression() instanceof ColumnReference)) { continue; } columnNumber = (...
1,102,239
public void recordColumnReferences(boolean[] colArray1, JBitSet[] tableColMap, int tableNumber) { int size = size(); for (int index = 0; index < size; index++) { int columnNumber; ResultColumn rc = (ResultColumn) elementAt(index); if (! (rc.getExpression() instanceof ColumnReference)) { continue; } ...
public void recordColumnReferences(boolean[] colArray1, JBitSet[] tableColMap, int tableNumber) { int size = size(); for (int index = 0; index < size; index++) { int columnNumber; ResultColumn rc = (ResultColumn) elementAt(index); if (rc.isReferenced()) { continue; } columnNumber = ((ColumnReferenc...
1,102,240
public void recordColumnReferences(boolean[] colArray1, JBitSet[] tableColMap, int tableNumber) { int size = size(); for (int index = 0; index < size; index++) { int columnNumber; ResultColumn rc = (ResultColumn) elementAt(index); if (! (rc.getExpression() instanceof ColumnReference)) { continue; } ...
public void recordColumnReferences(boolean[] colArray1, JBitSet[] tableColMap, int tableNumber) { int size = size(); for (int index = 0; index < size; index++) { int columnNumber; ResultColumn rc = (ResultColumn) elementAt(index); if (! (rc.getExpression() instanceof ColumnReference)) { idArray[currArr...
1,102,241
public void recordColumnReferences(boolean[] colArray1, JBitSet[] tableColMap, int tableNumber) { int size = size(); for (int index = 0; index < size; index++) { int columnNumber; ResultColumn rc = (ResultColumn) elementAt(index); if (! (rc.getExpression() instanceof ColumnReference)) { continue; } ...
public void recordColumnReferences(boolean[] colArray1, JBitSet[] tableColMap, int tableNumber) { int size = size(); for (int index = 0; index < size; index++) { int columnNumber; ResultColumn rc = (ResultColumn) elementAt(index); if (! (rc.getExpression() instanceof ColumnReference)) { continue; } ...
1,102,242
protected boolean supersetOfUniqueIndex(JBitSet[] tableColMap) throws StandardException { ConglomerateDescriptor[] cds = tableDescriptor.getConglomerateDescriptors(); /* Cycle through the ConglomerateDescriptors */ for (int index = 0; index < cds.length; index++) { ConglomerateDescriptor cd = cds[index]; if (...
protected boolean supersetOfUniqueIndex(boolean[] eqCols) throws StandardException { ConglomerateDescriptor[] cds = tableDescriptor.getConglomerateDescriptors(); /* Cycle through the ConglomerateDescriptors */ for (int index = 0; index < cds.length; index++) { ConglomerateDescriptor cd = cds[index]; if (! cd....
1,102,243
protected boolean supersetOfUniqueIndex(JBitSet[] tableColMap) throws StandardException { ConglomerateDescriptor[] cds = tableDescriptor.getConglomerateDescriptors(); /* Cycle through the ConglomerateDescriptors */ for (int index = 0; index < cds.length; index++) { ConglomerateDescriptor cd = cds[index]; if (...
protected boolean supersetOfUniqueIndex(JBitSet[] tableColMap) throws StandardException { ConglomerateDescriptor[] cds = tableDescriptor.getConglomerateDescriptors(); /* Cycle through the ConglomerateDescriptors */ for (int index = 0; index < cds.length; index++) { ConglomerateDescriptor cd = cds[index]; if (...
1,102,244
protected boolean supersetOfUniqueIndex(JBitSet[] tableColMap) throws StandardException { ConglomerateDescriptor[] cds = tableDescriptor.getConglomerateDescriptors(); /* Cycle through the ConglomerateDescriptors */ for (int index = 0; index < cds.length; index++) { ConglomerateDescriptor cd = cds[index]; if (...
protected boolean supersetOfUniqueIndex(JBitSet[] tableColMap) throws StandardException { ConglomerateDescriptor[] cds = tableDescriptor.getConglomerateDescriptors(); /* Cycle through the ConglomerateDescriptors */ for (int index = 0; index < cds.length; index++) { ConglomerateDescriptor cd = cds[index]; if (...
1,102,245
protected boolean supersetOfUniqueIndex(JBitSet[] tableColMap) throws StandardException { ConglomerateDescriptor[] cds = tableDescriptor.getConglomerateDescriptors(); /* Cycle through the ConglomerateDescriptors */ for (int index = 0; index < cds.length; index++) { ConglomerateDescriptor cd = cds[index]; if (...
protected boolean supersetOfUniqueIndex(JBitSet[] tableColMap) throws StandardException { ConglomerateDescriptor[] cds = tableDescriptor.getConglomerateDescriptors(); /* Cycle through the ConglomerateDescriptors */ for (int index = 0; index < cds.length; index++) { ConglomerateDescriptor cd = cds[index]; if (...
1,102,246
public BackingStoreHashtable( TransactionController tc, RowSource row_source, int[] key_column_numbers, boolean remove_duplicates, long estimated_rowcnt, long max_inmemory_rowcnt, int ini...
public BackingStoreHashtable( TransactionController tc, RowSource row_source, int[] key_column_numbers, boolean remove_duplicates, long estimated_rowcnt, long max_inmemory_rowcnt, int ini...
1,102,248
public DiskHashtable( TransactionController tc, DataValueDescriptor[] template, int[] key_column_numbers, boolean remove_duplicates, boolean keepAfterCommit) throws StandardException { this.tc = tc; ...
public DiskHashtable( TransactionController tc, DataValueDescriptor[] template, int[] key_column_numbers, boolean remove_duplicates, boolean keepAfterCommit) throws StandardException { this.tc = tc; ...
1,102,249
public DiskHashtable( TransactionController tc, DataValueDescriptor[] template, int[] key_column_numbers, boolean remove_duplicates, boolean keepAfterCommit) throws StandardException { this.tc = tc; ...
public DiskHashtable( TransactionController tc, DataValueDescriptor[] template, int[] key_column_numbers, boolean remove_duplicates, boolean keepAfterCommit) throws StandardException { this.tc = tc; ...
1,102,250
public DiskHashtable( TransactionController tc, DataValueDescriptor[] template, int[] key_column_numbers, boolean remove_duplicates, boolean keepAfterCommit) throws StandardException { this.tc = tc; ...
public DiskHashtable( TransactionController tc, DataValueDescriptor[] template, int[] key_column_numbers, boolean remove_duplicates, boolean keepAfterCommit) throws StandardException { this.tc = tc; ...
1,102,251
public DiskHashtable( TransactionController tc, DataValueDescriptor[] template, int[] key_column_numbers, boolean remove_duplicates, boolean keepAfterCommit) throws StandardException { this.tc = tc; ...
public DiskHashtable( TransactionController tc, DataValueDescriptor[] template, int[] key_column_numbers, boolean remove_duplicates, boolean keepAfterCommit) throws StandardException { this.tc = tc; ...
1,102,252
public DiskHashtable( TransactionController tc, DataValueDescriptor[] template, int[] key_column_numbers, boolean remove_duplicates, boolean keepAfterCommit) throws StandardException { this.tc = tc; ...
public DiskHashtable( TransactionController tc, DataValueDescriptor[] template, int[] key_column_numbers, boolean remove_duplicates, boolean keepAfterCommit) throws StandardException { this.tc = tc; ...
1,102,253
public String getClientInfo(String name) throws SQLException{ throw Util.notImplemented(); }
public String getClientInfo(String name) throws SQLException{ checkIfClosed(); return null; }
1,102,254
public void setClientInfo(String name, String value) throws SQLException{ throw Util.notImplemented(); }
public void setClientInfo(String name, String value) throws SQLException{ checkIfClosed(); if (name == null && value == null) { return; } Properties p = new Properties(); p.setProperty(name, value); setClientInfo(p); }
1,102,255
public EmbedConnection30( EmbedConnection inputConnection) { super(inputConnection); }
public EmbedConnection30( InternalDriver driver, String url, Properties info) throws SQLException { super(inputConnection); }
1,102,256
public EmbedConnection30( EmbedConnection inputConnection) { super(inputConnection); }
public EmbedConnection30( EmbedConnection inputConnection) { super(driver, url, info); }
1,102,257
public static SQLException generateCsSQLException( String error, Object arg1, Object arg2, Object arg3) { return newEmbedSQLException(error, new Object[] {arg1, arg2, arg3}, StandardException.getSeverityFromIdentifier(error)); }
public static SQLException generateCsSQLException( String error, Object arg1, Object arg2, Object arg3) { return newEmbedSQLException(error, new Object[] {arg1, arg2, arg3}, StandardException.getSeverityFromIdentifier(error)); }
1,102,258
public static SQLException generateCsSQLException( String error, Object arg1, Object arg2, Object arg3) { return newEmbedSQLException(error, new Object[] {arg1, arg2, arg3}, StandardException.getSeverityFromIdentifier(error)); }
public static SQLException generateCsSQLException( String error, Object arg1, Object arg2, Object arg3) { return newEmbedSQLException(error, new Object[] {arg1, arg2, arg3}, StandardException.getSeverityFromIdentifier(error)); }
1,102,259
protected SQLException newSQLException(String messageId, Object arg1) { return Util.generateCsSQLException(messageId, arg1); }
protected SQLException newSQLException(String messageId, Object arg1) { return Util.generateCsSQLException(messageId, arg1); }
1,102,260
public TriggerDescriptor getTriggerDescriptor(String name, SchemaDescriptor sd) throws StandardException;
public TriggerDescriptor getTriggerDescriptor(UUID uuid) throws StandardException;
1,102,261
public static Connection getConnection() throws SQLException { Connection con = null; JDBCClient client = CONFIG.getJDBCClient(); if (HAVE_DRIVER) { loadJDBCDriver(client.getJDBCDriverName()); if (!CONFIG.isSingleLegXA()) { con = DriverMan...
public static Connection getConnection() throws SQLException { Connection con = null; JDBCClient client = CONFIG.getJDBCClient(); if (HAVE_DRIVER) { loadJDBCDriver(client.getJDBCDriverName()); if (!CONFIG.isSingleLegXA()) { con = DriverMan...
1,102,262
public static Connection getConnection() throws SQLException { Connection con = null; JDBCClient client = CONFIG.getJDBCClient(); if (HAVE_DRIVER) { loadJDBCDriver(client.getJDBCDriverName()); if (!CONFIG.isSingleLegXA()) { con = DriverMan...
public static Connection getConnection() throws SQLException { Connection con = null; JDBCClient client = CONFIG.getJDBCClient(); if (HAVE_DRIVER) { loadJDBCDriver(client.getJDBCDriverName()); if (!CONFIG.isSingleLegXA()) { con = DriverMan...
1,102,263
public void boot(boolean create, Properties properties) throws StandardException { dataDirectory = properties.getProperty(PersistentService.ROOT); DaemonFactory daemonFactory = (DaemonFactory)Monitor.startSystemModule(org.apache.derby.iapi.reference.Module.DaemonFactory); rawStoreDaemon = daemonFactory.createNew...
public void boot(boolean create, Properties properties) throws StandardException { dataDirectory = properties.getProperty(PersistentService.ROOT); DaemonFactory daemonFactory = (DaemonFactory)Monitor.startSystemModule(org.apache.derby.iapi.reference.Module.DaemonFactory); rawStoreDaemon = daemonFactory.createNew...
1,102,264
public String getCanonicalServiceName(String name);
public String getCanonicalServiceName(String name) throws StandardException;
1,102,265
public OutputStream getOutputStream( boolean append) throws FileNotFoundException;
public OutputStream getOutputStream( ) throws FileNotFoundException;
1,102,267
public static boolean copyDirectory( WritableStorageFactory storageFactory, File from, StorageFile to, byte[] buffer, String[] filter) { if (from == nul...
public static boolean copyDirectory( WritableStorageFactory storageFactory, File from, StorageFile to, byte[] buffer, String[] filter) { if (from == nul...
1,102,268
public static boolean copyFile( WritableStorageFactory storageFactory, File from, StorageFile to) { return copyFile( storageFactory, from, to, (byte[]) null); }
public static boolean copyFile( WritableStorageFactory storageFactory, File from, StorageFile to) { return copyFile( storageFactory, from, to, (byte[]) null); }
1,102,269
protected static boolean canConvertToDecimal(ResultSet rs,int columnIndex) throws SQLException{ int columnType= rs.getMetaData().getColumnType(columnIndex); if(columnType == java.sql.Types.BIGINT || columnType == java.sql.Types.DECIMAL || columnType == java.sql.Types.DOUBLE || columnType == java.sql.T...
protected static boolean canConvertToDecimal(ResultSet rs,int columnIndex) throws SQLException{ int columnType= rs.getMetaData().getColumnType(columnIndex); if(columnType == java.sql.Types.BIGINT || columnType == java.sql.Types.DECIMAL || columnType == java.sql.Types.DOUBLE || columnType == java.sql.T...
1,102,270
protected static boolean canConvertToDecimal(ResultSet rs,int columnIndex) throws SQLException{ int columnType= rs.getMetaData().getColumnType(columnIndex); if(columnType == java.sql.Types.BIGINT || columnType == java.sql.Types.DECIMAL || columnType == java.sql.Types.DOUBLE || columnType == java.sql.T...
protected static boolean canConvertToDecimal(ResultSet rs,int columnIndex) throws SQLException{ int columnType= rs.getMetaData().getColumnType(columnIndex); if(columnType == java.sql.Types.BIGINT || columnType == java.sql.Types.DECIMAL || columnType == java.sql.Types.DOUBLE || columnType == java.sql.T...
1,102,271
public static String getBigDecimalString(ResultSet rs, int columnIndex) throws SQLException{ String bigDecimalString=null; switch(representation){ case BIGDECIMAL_REPRESENTATION: //Call toString() only for non-null values, else return null if(rs.getBigDecimal(columnIndex) != null) bigDecimalString = rs...
public static String getBigDecimalString(ResultSet rs, int columnIndex) throws SQLException{ String bigDecimalString=null; switch(representation){ case BIGDECIMAL_REPRESENTATION: //Call toString() only for non-null values, else return null if(rs.getBigDecimal(columnIndex) != null) bigDecimalString = rs...
1,102,272
protected void openCore() throws StandardException { lcc.getStatementContext().setTopResultSet(this, subqueryTrackingArray); ExecRow row = getNextRowCore(sourceResultSet); if (row != null) { rs = activation.getTargetVTI(); if (SanityManager.DEBUG) { SanityManager.ASSERT(rs != null, "rs expected to be ...
protected void openCore() throws StandardException { lcc.getStatementContext().setTopResultSet(this, subqueryTrackingArray); ExecRow row = getNextRowCore(sourceResultSet); if (row != null) { rs = activation.getTargetVTI(); if (SanityManager.DEBUG) { SanityManager.ASSERT(rs != null, "rs expected to be ...
1,102,273
public ValueRow(int ncols) { column = new DataValueDescriptor[ncols]; this.ncols = ncols; }
public ValueRow(int ncols) { column = new DataValueDescriptor[ncols]; this.ncols = ncols; }
1,102,274
protected long compressPages() { int compress_bitnum = -1; for (int i = extentLength - 1; i >= 0; i--) { if (freePages.isSet(i)) { freePages.clear(i); unFilledPages.clear(i); compress_bitnum = i; } else ...
protected void compressPages( int new_highest_page, int num_pages_truncated) { int compress_bitnum = -1; for (int i = extentLength - 1; i >= 0; i--) { if (freePages.isSet(i)) { freePages.clear(i); unFilledPages.clear(i); ...
1,102,276
protected long compressPages() { int compress_bitnum = -1; for (int i = extentLength - 1; i >= 0; i--) { if (freePages.isSet(i)) { freePages.clear(i); unFilledPages.clear(i); compress_bitnum = i; } else ...
protected long compressPages() { if (SanityManager.DEBUG) { if (new_highest_page >= 0) { for (int i = new_highest_page + 1; i < extentLength; i++) { if (!freePages.isSet(i)) { SanityManager.THROWASSERT( "compressPages with non free page to truncate," + "new_highest_page = " + new_highest_page + "num_pages...
1,102,277
protected long compressPages() { int compress_bitnum = -1; for (int i = extentLength - 1; i >= 0; i--) { if (freePages.isSet(i)) { freePages.clear(i); unFilledPages.clear(i); compress_bitnum = i; } else ...
protected long compressPages() { int compress_bitnum = -1; for (int i = extentLength - 1; i >= 0; i--) { if (freePages.isSet(i)) { freePages.clear(i); unFilledPages.clear(i); compress_bitnum = i; } else ...
1,102,278
protected long compressPages() { int compress_bitnum = -1; for (int i = extentLength - 1; i >= 0; i--) { if (freePages.isSet(i)) { freePages.clear(i); unFilledPages.clear(i); compress_bitnum = i; } else ...
protected long compressPages() { int compress_bitnum = -1; for (int i = extentLength - 1; i >= 0; i--) { if (freePages.isSet(i)) { freePages.clear(i); unFilledPages.clear(i); compress_bitnum = i; } else ...
1,102,279
protected long compressPages() { int compress_bitnum = -1; for (int i = extentLength - 1; i >= 0; i--) { if (freePages.isSet(i)) { freePages.clear(i); unFilledPages.clear(i); compress_bitnum = i; } else ...
protected long compressPages() { int compress_bitnum = -1; for (int i = extentLength - 1; i >= 0; i--) { if (freePages.isSet(i)) { freePages.clear(i); unFilledPages.clear(i); compress_bitnum = i; } else ...
1,102,280
protected long compressPages() { int compress_bitnum = -1; for (int i = extentLength - 1; i >= 0; i--) { if (freePages.isSet(i)) { freePages.clear(i); unFilledPages.clear(i); compress_bitnum = i; } else ...
protected long compressPages() { int compress_bitnum = -1; for (int i = extentLength - 1; i >= 0; i--) { if (freePages.isSet(i)) { freePages.clear(i); unFilledPages.clear(i); compress_bitnum = i; } else ...
1,102,281
protected long compressPages() { int compress_bitnum = -1; for (int i = extentLength - 1; i >= 0; i--) { if (freePages.isSet(i)) { freePages.clear(i); unFilledPages.clear(i); compress_bitnum = i; } else ...
protected long compressPages() { int compress_bitnum = -1; for (int i = extentLength - 1; i >= 0; i--) { if (freePages.isSet(i)) { freePages.clear(i); unFilledPages.clear(i); compress_bitnum = i; } else ...
1,102,282
protected int getAllocatedPageCount() { // allocated page is one which is not free or deallocated. int allocatedPageCount = extentLength; if (!mayHaveFreePage()) return allocatedPageCount; byte[] free = freePages.getByteArray(); int numBytes = free.length; for (int i = 0; i < numBytes; i++) { if (free[i] !=...
protected int getAllocatedPageCount() { // allocated page is one which is not free or deallocated. int allocatedPageCount = extentLength; if (!mayHaveFreePage()) return allocatedPageCount; byte[] free = freePages.getByteArray(); int numBytes = free.length; for (int i = 0; i < numBytes; i++) { if (free[i] !=...
1,102,283
public FormatableBitSet(int numBits) { initializeBits(numBits); }
public FormatableBitSet() { initializeBits(numBits); }
1,102,284
public FormatableBitSet(int numBits) { initializeBits(numBits); }
public FormatableBitSet(int numBits) { }
1,102,285
public void or(FormatableBitSet otherBit) { if (otherBit == null || otherBit.getLength() == 0) return; int otherLength = otherBit.getLength(); if (otherLength > getLength()) grow(otherLength); // expand this bit if (otherBit instanceof FormatableBitSet) { // we know the bit ordering, optimize this Forma...
public void or(FormatableBitSet otherBit) { if (otherBit == null || otherBit.getLength() == 0) return; int otherLength = otherBit.getLength(); if (otherLength > getLength()) grow(otherLength); // expand this bit if (otherBit instanceof FormatableBitSet) { // we know the bit ordering, optimize this Forma...
1,102,286
protected final TableDescriptor getTableDescriptor(TableName tableName) throws StandardException { String schemaName = tableName.getSchemaName(); SchemaDescriptor sd = getSchemaDescriptor(schemaName); TableDescriptor td = getTableDescriptor(tableName.getTableName(), sd); if (td == null) { throw StandardExcep...
protected final TableDescriptor getTableDescriptor() throws StandardException { String schemaName = tableName.getSchemaName(); SchemaDescriptor sd = getSchemaDescriptor(schemaName); TableDescriptor td = getTableDescriptor(tableName.getTableName(), sd); if (td == null) { throw StandardException.newException(S...
1,102,287
protected final TableDescriptor getTableDescriptor(TableName tableName) throws StandardException { String schemaName = tableName.getSchemaName(); SchemaDescriptor sd = getSchemaDescriptor(schemaName); TableDescriptor td = getTableDescriptor(tableName.getTableName(), sd); if (td == null) { throw StandardExcep...
protected final TableDescriptor getTableDescriptor(TableName tableName) throws StandardException { String schemaName = tableName.getSchemaName(); SchemaDescriptor sd = getSchemaDescriptor(schemaName); TableDescriptor td = getTableDescriptor(tableName.getTableName(), sd); if (td == null) { throw StandardExcep...
1,102,288
public static String getServiceProperty(PersistentSet set, String key) throws StandardException { return PropertyUtil.getServiceProperty(set, key, (String) null); }
public static String getServiceProperty(PersistentSet set, String key, String defaultValue) throws StandardException { return PropertyUtil.getServiceProperty(set, key, (String) null); }
1,102,289
public static String getServiceProperty(PersistentSet set, String key) throws StandardException { return PropertyUtil.getServiceProperty(set, key, (String) null); }
public static String getServiceProperty(PersistentSet set, String key) throws StandardException { String value = PropertyUtil.getDatabaseProperty( set, Property.DATABASE_PROPERTIES_ONLY); boolean dbOnly = Boolean.valueOf( (value != null ? value.trim() : value)).booleanValue(); if (!dbOnly) { value = Monitor.getMon...
1,102,290
final boolean isSessionSchema(String schemaName) { return SchemaDescriptor.STD_DECLARED_GLOBAL_TEMPORARY_TABLES_SCHEMA_NAME.equals(schemaName); }
final boolean isSessionSchema(SchemaDescriptor sd) { return SchemaDescriptor.STD_DECLARED_GLOBAL_TEMPORARY_TABLES_SCHEMA_NAME.equals(schemaName); }
1,102,291
final boolean isSessionSchema(String schemaName) { return SchemaDescriptor.STD_DECLARED_GLOBAL_TEMPORARY_TABLES_SCHEMA_NAME.equals(schemaName); }
final boolean isSessionSchema(String schemaName) { return isSessionSchema(sd.getSchemaName()); }
1,102,292
public StepMeta(Repository rep, long id_step, ArrayList databases, Hashtable counters, List partitionSchemas) throws KettleException { this(); StepLoader steploader = StepLoader.getInstance(); try { Row r = rep.getStep(id_step); if (r!=null) { setID(id_step); stepname = r.searchValue("N...
public StepMeta(String stepid, String stepname, StepMetaInterface stepMetaInterface) { this(); StepLoader steploader = StepLoader.getInstance(); try { Row r = rep.getStep(id_step); if (r!=null) { setID(id_step); stepname = r.searchValue("NAME").getString(); //$NON-NLS-1$ //System.out...
1,102,294
public StepMeta(Repository rep, long id_step, ArrayList databases, Hashtable counters, List partitionSchemas) throws KettleException { this(); StepLoader steploader = StepLoader.getInstance(); try { Row r = rep.getStep(id_step); if (r!=null) { setID(id_step); stepname = r.searchValue("N...
public StepMeta(Repository rep, long id_step, ArrayList databases, Hashtable counters, List partitionSchemas) throws KettleException { this(); StepLoader steploader = StepLoader.getInstance(); try { Row r = rep.getStep(id_step); if (r!=null) { setID(id_step); stepname = r.searchValue("N...
1,102,295
public void setLocation(Point loc) { if (loc!=null && !loc.equals(location)) setChanged(); location = loc; }
public void setLocation(int x, int y) { if (loc!=null && !loc.equals(location)) setChanged(); location = loc; }
1,102,296
public void setLocation(Point loc) { if (loc!=null && !loc.equals(location)) setChanged(); location = loc; }
public void setLocation(Point loc) { if (loc!=null && !loc.equals(location)) setChanged(); location = loc; }
1,102,297
public TransHopMeta(Repository rep, long id_trans_hop, ArrayList steps) throws KettleException { try { setID(id_trans_hop); Row r = rep.getTransHop(id_trans_hop); long id_step_from = r.searchValue("ID_STEP_FROM").getInteger(); //$NON-NLS-1$ long id_step_to = r.searchValue("ID_STEP_TO").getInteger();...
public TransHopMeta(Repository rep, long id_trans_hop, ArrayList steps) throws KettleException { try { setID(id_trans_hop); Row r = rep.getTransHop(id_trans_hop); long id_step_from = r.searchValue("ID_STEP_FROM").getInteger(); //$NON-NLS-1$ long id_step_to = r.searchValue("ID_STEP_TO").getInteger();...
1,102,298
public TransHopMeta(Repository rep, long id_trans_hop, ArrayList steps) throws KettleException { try { setID(id_trans_hop); Row r = rep.getTransHop(id_trans_hop); long id_step_from = r.searchValue("ID_STEP_FROM").getInteger(); //$NON-NLS-1$ long id_step_to = r.searchValue("ID_STEP_TO").getInteger();...
public TransHopMeta(Repository rep, long id_trans_hop, ArrayList steps) throws KettleException { try { setID(id_trans_hop); Row r = rep.getTransHop(id_trans_hop); long id_step_from = r.searchValue("ID_STEP_FROM").getInteger(); //$NON-NLS-1$ long id_step_to = r.searchValue("ID_STEP_TO").getInteger();...
1,102,299
public static final String addTagValue(String tag, String val) { return addTagValue(tag, val, true); }
public static final String addTagValue(String tag, String val) { StringBuffer value; if (val!=null && val.length()>0) { value = new StringBuffer("<"); value.append(tag); value.append(">"); for (int i=0;i<val.length();i++) { char c = val.charAt(i); switch(c) { case '&' : value.append("&amp;"); break; case '\'' : va...
1,102,300
public RepositoryDirectory findDirectory(long id_directory) { if (getID()==id_directory) return this; for (int i=0;i<getNrSubdirectories();i++) { RepositoryDirectory rd = getSubdirectory(i).findDirectory(id_directory); if (rd!=null) return rd; } return null; }
public RepositoryDirectory findDirectory(long id_directory) { if (getID()==id_directory) return this; for (int i=0;i<getNrSubdirectories();i++) { RepositoryDirectory rd = getSubdirectory(i).findDirectory(id_directory); if (rd!=null) return rd; } return null; }
1,102,301
public RepositoryDirectory findDirectory(long id_directory) { if (getID()==id_directory) return this; for (int i=0;i<getNrSubdirectories();i++) { RepositoryDirectory rd = getSubdirectory(i).findDirectory(id_directory); if (rd!=null) return rd; } return null; }
public RepositoryDirectory findDirectory(long id_directory) { if (getID()==id_directory) return this; for (int i=0;i<getNrSubdirectories();i++) { RepositoryDirectory rd = getSubdirectory(i).findDirectory(id_directory); if (rd!=null) return rd; } return null; }
1,102,302
public PartitionSchema(String name, String[] partitionIDs) { this.name = name; this.partitionIDs = partitionIDs; }
public PartitionSchema() { this.name = name; this.partitionIDs = partitionIDs; }
1,102,304
public PartitionSchema(String name, String[] partitionIDs) { this.name = name; this.partitionIDs = partitionIDs; }
public PartitionSchema(String name, String[] partitionIDs) { this.name = name; this.partitionIDs = partitionIDs; }
1,102,305
boolean skipChildren(Visitable node);
boolean skipChildren(Visitable node) throws StandardException;
1,102,306
protected void finalizeChain(byte currChainByte, OutputStream socketOutputStream) throws DRDAProtocolException { // Go back to previous DSS and override the default // chain state (WITH_SAME_ID) with whatever the last // request dictates. if (prevHdrLocation != -1) { // Note: == -1 => the previous DSS was alread...
protected void finalizeChain(byte currChainByte, OutputStream socketOutputStream) throws DRDAProtocolException { // Go back to previous DSS and override the default // chain state (WITH_SAME_ID) with whatever the last // request dictates. if (prevHdrLocation != -1) { // Note: == -1 => the previous DSS was alread...
1,102,307
abstract int convertFromUCS2 (String sourceString, byte[] buffer, int offset);
abstract int convertFromUCS2 (String sourceString, byte[] buffer, int offset);
1,102,308
public static void doJars(String dbName, Connection conn) throws SQLException { String separator = System.getProperty("file.separator"); Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT FILENAME, SCHEMAID, " + "GENERATIONID FROM SYS.SYSFILES"); boolean firstTime = true; while (...
public static void doJars(String dbName, Connection conn) throws SQLException { String separator = System.getProperty("file.separator"); Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery("SELECT FILENAME, SCHEMAID, " + "GENERATIONID FROM SYS.SYSFILES"); boolean firstTime = true; while (...
1,102,309
public void startTestConnectionMethods_Client() { t_createClob_Client(); t_createBlob_Client(); t_createNClob(); t_createSQLXML(); t_isValid(); t_setClientInfo1(); t_setClientInfo2(); t_getClientInfo1(); t_getClientInfo2(); }
public void startTestConnectionMethods_Client() { t_createClob_Client(); t_createBlob_Client(); t_createNClob(); t_createSQLXML(); t_isValid_Client(); t_setClientInfo1(); t_setClientInfo2(); t_getClientInfo1(); t_getClientInfo2(); }
1,102,310
public void startTestConnectionMethods_Embedded() { t_createClob(); t_createBlob(); t_createNClob(); t_createSQLXML(); t_isValid(); t_setClientInfo1(); t_setClientInfo2(); t_getClientInfo1(); t_getClientInfo2(); }
public void startTestConnectionMethods_Embedded() { t_createClob(); t_createBlob(); t_createNClob(); t_createSQLXML(); t_isValid_Embed(); t_setClientInfo1(); t_setClientInfo2(); t_getClientInfo1(); t_getClientInfo2(); }
1,102,311
EmbedXAConnection(EmbeddedDataSource ds, ResourceAdapter ra, String u, String p, boolean requestPassword) throws SQLException { super(ds, u, p, requestPassword); this.ra = ra; }
EmbedXAConnection(EmbeddedDataSource ds, ResourceAdapter ra, String u, String p, boolean requestPassword) throws SQLException { super(ds, u, p, requestPassword); xaRes = new EmbedXAResource (this, ra); }
1,102,312
public final Connection getConnection(String username, String password) throws SQLException { return this.getConnection(username, password, true); }
public final Connection getConnection(String username, String password) throws SQLException { return this.getConnection(username, password, true); }
1,102,313
public final Connection getConnection(String username, String password) throws SQLException { return this.getConnection(username, password, true); }
public final Connection getConnection(String username, String password) throws SQLException { return this.getConnection(getUser(), getPassword(), false); }
1,102,314
public QueryTreeNode bind() throws StandardException { // We just need select privilege on the where clause tables getCompilerContext().pushCurrentPrivType( Authorizer.SELECT_PRIV); try { FromList fromList = (FromList) getNodeFactory().getNode( C_NodeTypes.FROM_LIST, getNodeFactory().doJoinOrderO...
public QueryTreeNode bind() throws StandardException { // We just need select privilege on the where clause tables getCompilerContext().pushCurrentPrivType( Authorizer.SELECT_PRIV); try { FromList fromList = (FromList) getNodeFactory().getNode( C_NodeTypes.FROM_LIST, getNodeFactory().doJoinOrderO...
1,102,315
public void init(Object resultSet, Object statementType) { super.init(resultSet); this.statementType = ((Integer) statementType).intValue(); }
public void init(Object resultSet) { super.init(resultSet); this.statementType = ((Integer) statementType).intValue(); }
1,102,316
public void init(Object resultSet, Object statementType) { super.init(resultSet); this.statementType = ((Integer) statementType).intValue(); }
public void init(Object resultSet, Object statementType) { super.init(resultSet); statementType = getStatementType(); }
1,102,317
public SQLBoolean(boolean val) { value = val; }
public SQLBoolean() { value = val; }
1,102,318
public SQLBoolean(boolean val) { value = val; }
public SQLBoolean(boolean val) { isnull = true; }
1,102,319
protected String serializeToString(String xmlAsText) throws Exception { ArrayList aList = new ArrayList(); aList.add(dBuilder.parse( new InputSource(new StringReader(xmlAsText)))); return serializeToString(aList); }
protected String serializeToString(String xmlAsText) throws Exception { ArrayList aList = new ArrayList(); aList.add(dBuilder.parse( new InputSource(new StringReader(xmlAsText)))); return serializeToString(aList, null); }
1,102,320
public String getString() throws StandardException { if (value == null) { int len = rawLength; if (len != -1) { // data is stored in the char[] array value = new String(rawData, 0, len); if (len > 4096) { // free up this char[] array to reduce memory usage rawData = null; rawLength = -1; ...
public String getString() throws StandardException { if (value == null) { int len = rawLength; if (len != -1) { // data is stored in the char[] array value = new String(rawData, 0, len); if (len > RETURN_SPACE_THRESHOLD) { // free up this char[] array to reduce memory usage rawData = null; ra...
1,102,321
public void readExternal(ObjectInput in) throws IOException { // if in.available() blocked at 0, use this default string size int utflen = in.readUnsignedShort(); int requiredLength; if (utflen != 0) { // the object was not stored as a streaming column // w...
public void readExternal(ObjectInput in) throws IOException { // if in.available() blocked at 0, use this default string size int utflen = in.readUnsignedShort(); int requiredLength; if (utflen != 0) { // the object was not stored as a streaming column // w...
1,102,322
public void readExternal(ObjectInput in) throws IOException { // if in.available() blocked at 0, use this default string size int utflen = in.readUnsignedShort(); int requiredLength; if (utflen != 0) { // the object was not stored as a streaming column // w...
public void readExternal(ObjectInput in) throws IOException { // if in.available() blocked at 0, use this default string size int utflen = in.readUnsignedShort(); int requiredLength; if (utflen != 0) { // the object was not stored as a streaming column // w...
1,102,323
public synchronized long getStepAttributeInteger(long id_step, String code) throws KettleDatabaseException { return getStepAttributeInteger(id_step, 0, code); }
public synchronized long getStepAttributeInteger(long id_step, int nr, String code) throws KettleDatabaseException { return getStepAttributeInteger(id_step, 0, code); }
1,102,324
public synchronized long getStepAttributeInteger(long id_step, String code) throws KettleDatabaseException { return getStepAttributeInteger(id_step, 0, code); }
public synchronized long getStepAttributeInteger(long id_step, String code) throws KettleDatabaseException { Row r = null; if (stepAttributesBuffer!=null) r = searchStepAttributeInBuffer(id_step, code, (long)nr); else r = getStepAttributeRow(id_step, nr, code); if (r == null) return 0; retu...
1,102,325
public synchronized String getStepAttributeString(long id_step, String code) throws KettleDatabaseException { return getStepAttributeString(id_step, 0, code); }
public synchronized String getStepAttributeString(long id_step, int nr, String code) throws KettleDatabaseException { return getStepAttributeString(id_step, 0, code); }
1,102,326
public synchronized String getStepAttributeString(long id_step, String code) throws KettleDatabaseException { return getStepAttributeString(id_step, 0, code); }
public synchronized String getStepAttributeString(long id_step, String code) throws KettleDatabaseException { Row r = null; if (stepAttributesBuffer!=null) r = searchStepAttributeInBuffer(id_step, code, (long)nr); else r = getStepAttributeRow(id_step, nr, code); if (r == null) return null; ...
1,102,327
public boolean getStepAttributeBoolean(long id_step, String code) throws KettleDatabaseException { return getStepAttributeBoolean(id_step, 0, code); }
public boolean getStepAttributeBoolean(long id_step, String code) throws KettleDatabaseException { Row r = null; if (stepAttributesBuffer!=null) r = searchStepAttributeInBuffer(id_step, code, (long)nr); else r = getStepAttributeRow(id_step, nr, code); if (r == null) return def; Value v = r...
1,102,328
protected boolean checkpointWithTran(RawTransaction cptran, RawStoreFactory rsf, DataFactory df, TransactionFactory tf) throws StandardException { boolean proceed = true; LogInstant redoLWM; // we may be called to stop the database after a bad error, make sure // logout is set if (lo...
protected boolean checkpointWithTran(RawTransaction cptran, RawStoreFactory rsf, DataFactory df, TransactionFactory tf) throws StandardException { boolean proceed = true; LogInstant redoLWM; // we may be called to stop the database after a bad error, make sure // logout is set if (lo...
1,102,329
protected boolean checkpointWithTran(RawTransaction cptran, RawStoreFactory rsf, DataFactory df, TransactionFactory tf) throws StandardException { boolean proceed = true; LogInstant redoLWM; // we may be called to stop the database after a bad error, make sure // logout is set if (lo...
protected boolean checkpointWithTran(RawTransaction cptran, RawStoreFactory rsf, DataFactory df, TransactionFactory tf) throws StandardException { boolean proceed = true; LogInstant redoLWM; // we may be called to stop the database after a bad error, make sure // logout is set if (lo...
1,102,330
private long getFirstLogNeeded(CheckpointOperation checkpoint){ long firstLogNeeded; // one truncation at a time synchronized (this) { if (movingTruncPt) // don't truncate the log while someone is mucking return -1; // with truncation LWMs firstLogNeeded = LogCounter.getLogFileNumber(checkpoint.undoLWM())...
private long getFirstLogNeeded(CheckpointOperation checkpoint){ long firstLogNeeded; // one truncation at a time synchronized (this) { if (movingTruncPt) // don't truncate the log while someone is mucking return -1; // with truncation LWMs firstLogNeeded = LogCounter.getLogFileNumber(checkpoint.undoLWM())...
1,102,331