class FileSourceSplitState {

	public FileSourceSplit toFileSourceSplit() {
		final CheckpointedPosition position =
				(offset == CheckpointedPosition.NO_OFFSET && recordsToSkipAfterOffset == 0) ?
						null : new CheckpointedPosition(offset, recordsToSkipAfterOffset);

		return new FileSourceSplit(
				split.splitId(),
				split.path(),
				split.offset(),
				split.length(),
				split.hostnames(),
				position);
	}

	public  FileSourceSplitState(FileSourceSplit split);

}