public class TestDiskHashtable
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
failed |
private static int |
LOTS_OF_ROWS_COUNT |
private static int[] |
multiKeyCols |
private static org.apache.derby.iapi.types.DataValueDescriptor[][] |
multiKeyRows |
private static org.apache.derby.iapi.types.DataValueDescriptor[] |
multiKeyTemplate |
private static int[] |
singleKeyCols |
private static org.apache.derby.iapi.types.DataValueDescriptor[][] |
singleKeyRows |
private static org.apache.derby.iapi.types.DataValueDescriptor[] |
singleKeyTemplate |
private org.apache.derby.iapi.store.access.TransactionController |
tc |
Modifier | Constructor and Description |
---|---|
private |
TestDiskHashtable() |
Modifier and Type | Method and Description |
---|---|
private void |
checkElement(org.apache.derby.iapi.types.DataValueDescriptor[] fetchedRow,
int rowCount,
org.apache.derby.iapi.types.DataValueDescriptor[][] rows,
boolean[] found) |
private int |
doIt() |
static void |
main(java.lang.String[] args) |
private void |
REPORT_FAILURE(java.lang.String msg) |
private static void |
REPORT(java.lang.String msg) |
private boolean |
rowsEqual(java.lang.Object r1,
java.lang.Object r2) |
static int |
runTests() |
private void |
testElements(boolean removeDups,
org.apache.derby.iapi.store.access.DiskHashtable dht,
int rowCount,
org.apache.derby.iapi.types.DataValueDescriptor[][] rows,
boolean[] isDuplicate,
boolean[] found) |
private void |
testLargeTable(org.apache.derby.iapi.store.access.DiskHashtable dht,
int[] keyCols,
org.apache.derby.iapi.types.DataValueDescriptor[] aRow) |
private void |
testOneVariant(org.apache.derby.iapi.store.access.TransactionController tc,
boolean removeDups,
org.apache.derby.iapi.types.DataValueDescriptor[] template,
int[] keyCols,
org.apache.derby.iapi.types.DataValueDescriptor[][] rows) |
private org.apache.derby.iapi.store.access.TransactionController tc
private int failed
private static final org.apache.derby.iapi.types.DataValueDescriptor[] singleKeyTemplate
private static final int[] singleKeyCols
private static final org.apache.derby.iapi.types.DataValueDescriptor[][] singleKeyRows
private static final org.apache.derby.iapi.types.DataValueDescriptor[] multiKeyTemplate
private static final int[] multiKeyCols
private static final org.apache.derby.iapi.types.DataValueDescriptor[][] multiKeyRows
private static final int LOTS_OF_ROWS_COUNT
private TestDiskHashtable() throws java.sql.SQLException
java.sql.SQLException
public static void main(java.lang.String[] args)
private void REPORT_FAILURE(java.lang.String msg)
private static void REPORT(java.lang.String msg)
public static int runTests() throws java.sql.SQLException
java.sql.SQLException
private int doIt() throws java.sql.SQLException
java.sql.SQLException
private void testOneVariant(org.apache.derby.iapi.store.access.TransactionController tc, boolean removeDups, org.apache.derby.iapi.types.DataValueDescriptor[] template, int[] keyCols, org.apache.derby.iapi.types.DataValueDescriptor[][] rows) throws org.apache.derby.iapi.error.StandardException
org.apache.derby.iapi.error.StandardException
private void testLargeTable(org.apache.derby.iapi.store.access.DiskHashtable dht, int[] keyCols, org.apache.derby.iapi.types.DataValueDescriptor[] aRow) throws org.apache.derby.iapi.error.StandardException
org.apache.derby.iapi.error.StandardException
private void testElements(boolean removeDups, org.apache.derby.iapi.store.access.DiskHashtable dht, int rowCount, org.apache.derby.iapi.types.DataValueDescriptor[][] rows, boolean[] isDuplicate, boolean[] found) throws org.apache.derby.iapi.error.StandardException
org.apache.derby.iapi.error.StandardException
private void checkElement(org.apache.derby.iapi.types.DataValueDescriptor[] fetchedRow, int rowCount, org.apache.derby.iapi.types.DataValueDescriptor[][] rows, boolean[] found) throws org.apache.derby.iapi.error.StandardException
org.apache.derby.iapi.error.StandardException
private boolean rowsEqual(java.lang.Object r1, java.lang.Object r2) throws org.apache.derby.iapi.error.StandardException
org.apache.derby.iapi.error.StandardException
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.