MCPcopy Create free account
hub / github.com/apache/pig / DummyIndexableLoader

Class DummyIndexableLoader

test/org/apache/pig/test/TestMergeJoin.java:723–771  ·  view source on GitHub ↗

A dummy loader which implements IndexableLoadFunc to test that expressions are not allowed as merge join keys when the right input's loader implements IndexableLoadFunc

Source from the content-addressed store, hash-verified

721 * loader implements {@link IndexableLoadFunc}
722 */
723 public static class DummyIndexableLoader extends LoadFunc implements IndexableLoadFunc{
724
725 /**
726 *
727 */
728 public DummyIndexableLoader() {
729 }
730
731 @Override
732 public void close() throws IOException {
733
734 }
735
736 @Override
737 public void seekNear(Tuple keys) throws IOException {
738
739 }
740
741 @Override
742 public Tuple getNext() throws IOException {
743 return null;
744 }
745
746 @Override
747 public void initialize(Configuration conf) throws IOException {
748 }
749
750 @Override
751 public InputFormat getInputFormat() throws IOException {
752 return null;
753 }
754
755 @Override
756 public LoadCaster getLoadCaster() throws IOException {
757 return null;
758 }
759
760 @Override
761 public void prepareToRead(RecordReader reader, PigSplit split)
762 throws IOException {
763
764 }
765
766 @Override
767 public void setLocation(String location, Job job) throws IOException {
768
769 }
770
771 }
772}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected