Package com.asakusafw.runtime.directio.hadoop

Examples of com.asakusafw.runtime.directio.hadoop.BlockInfo


    private BlockMap blocks(String path, long... blockSizes) {
        List<BlockInfo> blockList = new ArrayList<BlockInfo>();
        long totalSize = 0;
        for (long blockSize : blockSizes) {
            long next = totalSize + blockSize;
            blockList.add(new BlockInfo(totalSize, next, null));
            totalSize = next;
        }
        return BlockMap.create(path, totalSize, blockList, false);
    }
View Full Code Here

TOP

Related Classes of com.asakusafw.runtime.directio.hadoop.BlockInfo

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.