Package org.voltdb.sysprocs.saverestore.SnapshotUtil

Examples of org.voltdb.sysprocs.saverestore.SnapshotUtil.TableFiles


        for (String tableName : tables) {
            if (!snapshot.m_tableFiles.containsKey(tableName)) {
                System.err.println("Error: Snapshot does not contain table " + tableName);
                System.exit(-1);
            }
            TableFiles tableFiles = snapshot.m_tableFiles.get(tableName);

            if (!tableFiles.m_isReplicated) {
                TreeSet<Integer> partitionsIds = new TreeSet<Integer>();
                Map<File, Set<Integer>> partitionsFromFile = new TreeMap<File, Set<Integer>>();
                for (int ii = 0; ii < tableFiles.m_files.size(); ii++) {
View Full Code Here


                    SnapshotUtil.parseNonceFromDigestFilename(digest.getName()),
                    partitionCount, newParitionCount, catalog_crc, m_hostId, instanceId,
                    digestTableNames);
        // populate table to partition map.
        for (Entry<String, TableFiles> te : s.m_tableFiles.entrySet()) {
            TableFiles tableFile = te.getValue();
            HashSet<Integer> ids = new HashSet<Integer>();
            for (Set<Integer> idSet : tableFile.m_validPartitionIds) {
                ids.addAll(idSet);
            }
            if (!tableFile.m_isReplicated) {
View Full Code Here

TOP

Related Classes of org.voltdb.sysprocs.saverestore.SnapshotUtil.TableFiles

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.