diff options
author | James Ahlborn <jtahlborn@yahoo.com> | 2016-07-19 03:45:53 +0000 |
---|---|---|
committer | James Ahlborn <jtahlborn@yahoo.com> | 2016-07-19 03:45:53 +0000 |
commit | 060172ce30489655622702db9f3c6ce119636735 (patch) | |
tree | 638c511e967525b90b39e7dad4d2c130f5a50c8e /src/main/java/com/healthmarketscience/jackcess/impl/IndexData.java | |
parent | f2578a5a48195e58c2ce37b274c05f4514276bcc (diff) | |
download | jackcess-060172ce30489655622702db9f3c6ce119636735.tar.gz jackcess-060172ce30489655622702db9f3c6ce119636735.zip |
reorg to prep for RelationshipBuilder; move remaining table creation logic from TableBuilder to TableCreator
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/branches/mutateops@1002 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src/main/java/com/healthmarketscience/jackcess/impl/IndexData.java')
-rw-r--r-- | src/main/java/com/healthmarketscience/jackcess/impl/IndexData.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/com/healthmarketscience/jackcess/impl/IndexData.java b/src/main/java/com/healthmarketscience/jackcess/impl/IndexData.java index ea6708d..a55259e 100644 --- a/src/main/java/com/healthmarketscience/jackcess/impl/IndexData.java +++ b/src/main/java/com/healthmarketscience/jackcess/impl/IndexData.java @@ -492,7 +492,7 @@ public class IndexData { * @param idxCount num indexes to write */ protected static void writeRowCountDefinitions( - DBMutator creator, ByteBuffer buffer, int idxCount) + TableMutator creator, ByteBuffer buffer, int idxCount) { // index row counts (empty data) ByteUtil.forward(buffer, (idxCount * @@ -510,7 +510,7 @@ public class IndexData { { ByteBuffer rootPageBuffer = createRootPageBuffer(creator); - for(DBMutator.IndexDataState idxDataState : creator.getIndexDataStates()) { + for(TableMutator.IndexDataState idxDataState : creator.getIndexDataStates()) { writeDefinition(creator, buffer, idxDataState, rootPageBuffer); } } @@ -521,8 +521,8 @@ public class IndexData { * @param buffer Buffer to write to */ protected static void writeDefinition( - DBMutator creator, ByteBuffer buffer, - DBMutator.IndexDataState idxDataState, ByteBuffer rootPageBuffer) + TableMutator creator, ByteBuffer buffer, + TableMutator.IndexDataState idxDataState, ByteBuffer rootPageBuffer) throws IOException { if(rootPageBuffer == null) { @@ -573,7 +573,7 @@ public class IndexData { ByteUtil.forward(buffer, 5); // unknown } - private static ByteBuffer createRootPageBuffer(DBMutator creator) + private static ByteBuffer createRootPageBuffer(TableMutator creator) throws IOException { ByteBuffer rootPageBuffer = creator.getPageChannel().createPageBuffer(); |