Interface CqlDataSet

    • Method Detail

      • ofClassPaths

        static CqlDataSet ofClassPaths​(String... names)
        Creates CqlDataSet with the specified resource names and default charset.
        Parameters:
        names - the resource names
        Returns:
        a new CqlDataSet
      • ofClassPaths

        static CqlDataSet ofClassPaths​(Charset charset,
                                       String... names)
        Creates CqlDataSet with the specified resource names and charset.
        Parameters:
        names - the resource names
        charset - the encoding to use
        Returns:
        a new CqlDataSet
      • ofResources

        static CqlDataSet ofResources​(Resource... resources)
        Creates CqlDataSet with the specified resources and default charset.
        Parameters:
        resources - the resources to use
        Returns:
        a new CqlDataSet
      • ofResources

        static CqlDataSet ofResources​(Charset charset,
                                      Resource... resources)
        Creates CqlDataSet with the specified resources and charset.
        Parameters:
        resources - the resources to use
        charset - the encoding to use
        Returns:
        a new CqlDataSet
      • forEachScript

        default void forEachScript​(Consumer<? super CqlScript> callback)
        Performs the given callback for each script of the CqlDataSet.
        Parameters:
        callback - The action to be performed for each script
      • getStatements

        default List<String> getStatements()
        Description copied from interface: CqlScript
        Gets CQL statements.
        Specified by:
        getStatements in interface CqlScript
        Returns:
        CQL statements (never null)
      • getScripts

        List<? extends CqlScript> getScripts()
        Gets CQL scripts.
        Returns:
        CQL scripts (never null)