2 * Copyright (c) 2007 Yahoo! Inc. All rights reserved.
3 * See accompanying LICENSE file.
5 package com
.yahoo
.pig
.impl
.physicalLayer
;
7 import java
.io
.IOException
;
8 import java
.util
.Iterator
;
10 import com
.yahoo
.pig
.data
.DataBag
;
11 import com
.yahoo
.pig
.data
.Tuple
;
13 public class PORead
extends PhysicalOperator
{
17 public PORead(DataBag bagIn
, int outputType
) {
19 inputs
= new PhysicalOperator
[0];
26 public boolean open(boolean continueFromLast
) throws IOException
{
27 if (continueFromLast
){
28 throw new RuntimeException("LOReads should not occur in continuous plans");
35 public Tuple
getNext() throws IOException
{