public OrcSplit(Path path, long fileId, long offset, long length, string[] hosts, FileMetaInfo fileMetaInfo, bool isOriginal, bool hasBase, List<AcidInputFormat.DeltaMetaData> deltas, long projectedDataSize) : base(path, offset, length, hosts) { // We could avoid serializing file ID and just replace the path with inode-based path. // However, that breaks bunch of stuff because Hive later looks up things by split path. this.fileId = fileId; this.fileMetaInfo = fileMetaInfo; this._hasFooter = this.fileMetaInfo != null; this._isOriginal = isOriginal; this._hasBase = hasBase; this.deltas.AddRange(deltas); this.projColsUncompressedSize = projectedDataSize <= 0 ? length : projectedDataSize; }
public static Reader createReader(Path path, OrcFile.ReaderOptions options) { return new ReaderImpl(path, options); }