Skip to content

Commit

Permalink
Remove unused method ValueInputStream#getCheckpointType
Browse files Browse the repository at this point in the history
  • Loading branch information
Praveen2112 authored and sopel39 committed Aug 13, 2019
1 parent a911bba commit 570d897
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ public boolean nextBit()
return result;
}

@Override
public Class<BooleanStreamCheckpoint> getCheckpointType()
{
return BooleanStreamCheckpoint.class;
}

@Override
public void seekToCheckpoint(BooleanStreamCheckpoint checkpoint)
throws IOException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ public void next(byte[] data, int offset, int length)
inputStream.readFully(data, offset, length);
}

@Override
public Class<ByteArrayStreamCheckpoint> getCheckpointType()
{
return ByteArrayStreamCheckpoint.class;
}

@Override
public void seekToCheckpoint(ByteArrayStreamCheckpoint checkpoint)
throws IOException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ private void readNextBlock()
}
}

@Override
public Class<ByteStreamCheckpoint> getCheckpointType()
{
return ByteStreamCheckpoint.class;
}

@Override
public void seekToCheckpoint(ByteStreamCheckpoint checkpoint)
throws IOException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ public DecimalInputStream(OrcChunkLoader chunkLoader)
this.chunkLoader = chunkLoader;
}

@Override
public Class<? extends DecimalStreamCheckpoint> getCheckpointType()
{
return DecimalStreamCheckpoint.class;
}

@Override
public void seekToCheckpoint(DecimalStreamCheckpoint checkpoint)
throws IOException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ public DoubleInputStream(OrcInputStream input)
this.input = input;
}

@Override
public Class<DoubleStreamCheckpoint> getCheckpointType()
{
return DoubleStreamCheckpoint.class;
}

@Override
public void seekToCheckpoint(DoubleStreamCheckpoint checkpoint)
throws IOException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ public FloatInputStream(OrcInputStream input)
this.input = input;
}

@Override
public Class<FloatStreamCheckpoint> getCheckpointType()
{
return FloatStreamCheckpoint.class;
}

@Override
public void seekToCheckpoint(FloatStreamCheckpoint checkpoint)
throws IOException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,6 @@ public void next(short[] values, int items)
}
}

@Override
public Class<? extends LongStreamV1Checkpoint> getCheckpointType()
{
return LongStreamV1Checkpoint.class;
}

@Override
public void seekToCheckpoint(LongStreamCheckpoint checkpoint)
throws IOException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -408,12 +408,6 @@ public void next(short[] values, int items)
}
}

@Override
public Class<LongStreamV2Checkpoint> getCheckpointType()
{
return LongStreamV2Checkpoint.class;
}

@Override
public void seekToCheckpoint(LongStreamCheckpoint checkpoint)
throws IOException
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@

public interface ValueInputStream<C extends StreamCheckpoint>
{
Class<? extends C> getCheckpointType();

void seekToCheckpoint(C checkpoint)
throws IOException;

Expand Down

0 comments on commit 570d897

Please sign in to comment.