com.spss.psapi.data

Interface RowSetFactory



  • public interface RowSetFactory
    A factory class that creates instances of RowSet.
    Since:
    PSAPI 1.0
    Version:
    1.0
    Author:
    Julian Clinton
    See Also:
    RowSet
    Specification Status:
    Under Development
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      RowSet createRow(java.util.List values, DataModel dataModel)
      Returns a RowSet consisting of a single row of values which are supplied as a list.
      RowSet createRow(java.lang.Object[] values, DataModel dataModel)
      Returns a RowSet consisting of a single row of values which are supplied as a list.
    • Method Detail

      • createRow

        RowSet createRow(java.util.List values,
                       DataModel dataModel)
                         throws DataModelException
        Returns a RowSet consisting of a single row of values which are supplied as a list. The DataModel provides metadata information about the values. The number and storage type of values in the list must be consistent with the DataModel metadata.
        Parameters:
        values - the values to be included in the row
        dataModel - the metadata for those values
        Returns:
        a RowSet containing the supplied values
        Throws:
        DataModelException - if the number and storage type of values is not consistent with the DataModel metadata
      • createRow

        RowSet createRow(java.lang.Object[] values,
                       DataModel dataModel)
                         throws DataModelException
        Returns a RowSet consisting of a single row of values which are supplied as a list. The DataModel provides metadata information about the values. The number and storage type of values in the array must be consistent with the DataModel metadata.
        Parameters:
        values - the values to be included in the row
        dataModel - the metadata for those values
        Returns:
        a RowSet containing the supplied values
        Throws:
        DataModelException - if the number and storage type of values is not consistent with the DataModel metadata

Copyright © 2014 Integral Solutions Ltd. All Rights Reserved.