throw new XerialException(XerialErrorCode.MISSING_ARGUMENT, "no query is given");
// input
Reader in = null;
if (inputResource.equals("-")) {
in = new InputStreamReader(new StandardInputStream());
_logger.debug("read data from STDIN");
}
else {
inputFileType = FileType.getFileType(inputResource);