Package com.adgear.anoa.source.schemaless

Examples of com.adgear.anoa.source.schemaless.CsvWithHeaderSource


        } catch (SQLException e) {
          throw new IOException(e);
        }
        break;
      case CSV:
        stringListSource = new CsvWithHeaderSource(new InputStreamReader(in));
        break;
      case TSV:
        stringListSource = new TsvWithHeaderSource(new InputStreamReader(in));
        break;
      default:
View Full Code Here


      case MSGPACK:
        return new ValueToAvro<>(new ValueSource(in), schema);
      case JSON:
        return new JsonNodeToAvro<>(new JsonNodeSource(in), schema);
      case CSV:
        return new StringListToAvro<>(new CsvWithHeaderSource(new InputStreamReader(in)), schema);
      case CSV_NO_HEADER:
        return new StringListToAvro<>(new CsvSource(new InputStreamReader(in)), schema);
      case TSV:
        return new StringListToAvro<>(new TsvWithHeaderSource(new InputStreamReader(in)), schema);
      case TSV_NO_HEADER:
View Full Code Here

TOP

Related Classes of com.adgear.anoa.source.schemaless.CsvWithHeaderSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.