diff options
Diffstat (limited to 'contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/mapr/streams/StreamsFormatPlugin.java')
-rw-r--r-- | contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/mapr/streams/StreamsFormatPlugin.java | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/mapr/streams/StreamsFormatPlugin.java b/contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/mapr/streams/StreamsFormatPlugin.java index 92f134fb7..2ddf75296 100644 --- a/contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/mapr/streams/StreamsFormatPlugin.java +++ b/contrib/format-maprdb/src/main/java/org/apache/drill/exec/store/mapr/streams/StreamsFormatPlugin.java @@ -36,7 +36,7 @@ import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; public class StreamsFormatPlugin extends TableFormatPlugin { - static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(StreamsFormatPlugin.class); + private static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(StreamsFormatPlugin.class); private StreamsFormatMatcher matcher; public StreamsFormatPlugin(String name, DrillbitContext context, Configuration fsConf, @@ -72,9 +72,8 @@ public class StreamsFormatPlugin extends TableFormatPlugin { } @Override - public AbstractGroupScan getGroupScan(String userName, FileSelection selection, - List<SchemaPath> columns) throws IOException { - List<String> files = selection.getFiles(); + public AbstractGroupScan getGroupScan(String userName, FileSelection selection, List<SchemaPath> columns) { + List<Path> files = selection.getFiles(); assert (files.size() == 1); //TableProperties props = getMaprFS().getTableProperties(new Path(files.get(0))); throw UserException.unsupportedError().message("MapR streams can not be querried at this time.").build(logger); @@ -86,13 +85,12 @@ public class StreamsFormatPlugin extends TableFormatPlugin { } @Override - public DrillStatsTable.TableStatistics readStatistics(FileSystem fs, Path statsTablePath) throws IOException { + public DrillStatsTable.TableStatistics readStatistics(FileSystem fs, Path statsTablePath) { throw new UnsupportedOperationException("unimplemented"); } @Override - public void writeStatistics(DrillStatsTable.TableStatistics statistics, FileSystem fs, Path statsTablePath) throws IOException { + public void writeStatistics(DrillStatsTable.TableStatistics statistics, FileSystem fs, Path statsTablePath) { throw new UnsupportedOperationException("unimplemented"); } - } |