com.github.database.rider.core.api.dataset

Class JSONDataSet

  • java.lang.Object
    • org.dbunit.dataset.AbstractDataSet
      • com.github.database.rider.core.api.dataset.JSONDataSet
  • All Implemented Interfaces:
    org.dbunit.dataset.IDataSet


    public class JSONDataSetextends org.dbunit.dataset.AbstractDataSet
    DBUnit DataSet format for JSON based datasets. It is similar to the flat XML layout, but has some improvements (columns are calculated by parsing the entire dataset, not just the first row). It uses Jackson, a fast JSON processor.
    Author:
    Lieven DOCLO
    • Field Summary

      • Fields inherited from class org.dbunit.dataset.AbstractDataSet

        _orderedTableNameMap
    • Constructor Summary

      Constructors 
      Constructor and Description
      JSONDataSet(File file)
      Creates a JSON dataset based on a file
      JSONDataSet(InputStream is)
      Creates a JSON dataset based on an inputstream
    • Constructor Detail

      • JSONDataSet

        public JSONDataSet(File file)
        Creates a JSON dataset based on a file
        Parameters:
        file - A JSON dataset file
      • JSONDataSet

        public JSONDataSet(InputStream is)
        Creates a JSON dataset based on an inputstream
        Parameters:
        is - An inputstream pointing to a JSON dataset
    • Method Detail

      • createIterator

        protected org.dbunit.dataset.ITableIterator createIterator(boolean reverse)                                                    throws org.dbunit.dataset.DataSetException
        Specified by:
        createIterator in class org.dbunit.dataset.AbstractDataSet
        Throws:
        org.dbunit.dataset.DataSetException

Copyright © 2019. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14