public class ColGroupIO extends Object
| Constructor and Description | 
|---|
| ColGroupIO() | 
| Modifier and Type | Method and Description | 
|---|---|
| static long | getExactSizeOnDisk(List<AColGroup> colGroups)Get the size on disk for the given list of column groups | 
| static List<AColGroup> | readGroups(DataInput in,
          int nRows)Read groups from a file. | 
| static void | writeGroups(DataOutput out,
           List<AColGroup> colGroups)Writes the ColGroups out to the DataOutput. | 
public static List<AColGroup> readGroups(DataInput in, int nRows) throws IOException
in - The Data input object to read from.nRows - The number of rows in the read groups.IOException - Throws IO Exception if the in refuses to read data.public static void writeGroups(DataOutput out, List<AColGroup> colGroups) throws IOException
out - The DataOutput the ColGroups are written tocolGroups - List of the ColGroups to write to file.IOException - Throws IO Exception if the out refuses to write.Copyright © 2021 The Apache Software Foundation. All rights reserved.