de.uni_leipzig.asv.coocc
Interface BinFileMultCol

All Known Implementing Classes:
BinFileMultColFile, BinFileMultColRam

public interface BinFileMultCol

This interface summarizes BinFileMultColFile and BinFileMultColRam.


Method Summary
 List getData(Integer wordNr)
          For a given number returns the row
 List getData(Integer number, int maxItems)
          Returns the data for the given number up to the given maximum.
 List getData(Integer number, int myColumns, int maxItems)
          Returns the data for the given number up to the given maximum.
 List getData(Integer number, int maxItems, int[] minCols, int[] maxCols)
          Returns the data for the given number up to the given maximum in a list.
 List getData(Integer number, int myColumns, int maxItems, int[] minCols, int[] maxCols)
          Returns the data for the given number up to the given maximum.
 Map getDataAsMap(Integer wordNr)
          Returns the data for the given number up to the given maximum in a map.
 Map getDataAsMap(Integer number, int maxItems)
          Returns the data for the given number up to the given maximum in a map.
 Map getDataAsMap(Integer number, int myColumns, int maxItems)
          Returns the data for the given number up to the given maximum.
 Map getDataAsMap(Integer number, int maxItems, int[] minCols, int[] maxCols)
          Returns the data for the given number up to the given maximum in a map.
 Map getDataAsMap(Integer number, int myColumns, int maxItems, int[] minCols, int[] maxCols)
          Returns the data for the given number up to the given maximum in a map.
 List getSingleColumn(Integer number, int col)
          Column here is the column in the initial datafile, count begins with 1.
 List getSingleColumn(Integer number, int maxItems, int col)
           
 

Method Detail

getData

public List getData(Integer wordNr)
For a given number returns the row

Parameters:
wordNr - Integer
Returns:
List::Integer[]

getData

public List getData(Integer number,
                    int maxItems)
Returns the data for the given number up to the given maximum.

Parameters:
maxItems -
Returns:

getData

public List getData(Integer number,
                    int myColumns,
                    int maxItems)
Returns the data for the given number up to the given maximum.

Parameters:
number - = the first column
myColumns - = how many columns to return
maxItems - = at max this count of items
Returns:

getData

public List getData(Integer number,
                    int myColumns,
                    int maxItems,
                    int[] minCols,
                    int[] maxCols)
Returns the data for the given number up to the given maximum.

Parameters:
number - = the first column
myColumns - = how many columns to return
maxItems - = at max this count of items
minCols - = for each column each value minimum is specified here
maxCols - = for each column each value maximum is specified here
Returns:

getData

public List getData(Integer number,
                    int maxItems,
                    int[] minCols,
                    int[] maxCols)
Returns the data for the given number up to the given maximum in a list.

Parameters:
maxItems - How many items to return at max
minCols - for each column the minimum allowed value (the whoe row will otherwise be omitted)
maxCols - for each column the maximum allowed value (the whoe row will otherwise be omitted)
Returns:
List::Integer[]

getDataAsMap

public Map getDataAsMap(Integer wordNr)
Returns the data for the given number up to the given maximum in a map.

Parameters:
wordNr - The number of the item of which to return the columns
Returns:
Map::Integer->Integer[]

getDataAsMap

public Map getDataAsMap(Integer number,
                        int myColumns,
                        int maxItems)
Returns the data for the given number up to the given maximum.

Parameters:
myColumns - How many columns to return
maxItems - How many items to return at max
Returns:
Map::Integer->Integer[]

getDataAsMap

public Map getDataAsMap(Integer number,
                        int maxItems)
Returns the data for the given number up to the given maximum in a map.

Parameters:
maxItems - How many items to return at max
Returns:
Map::Integer->Integer[]

getDataAsMap

public Map getDataAsMap(Integer number,
                        int myColumns,
                        int maxItems,
                        int[] minCols,
                        int[] maxCols)
Returns the data for the given number up to the given maximum in a map.

Parameters:
myColumns - How many columns to return
maxItems - How many items to return at max
minCols - for each column the minimum allowed value (the whoe row will otherwise be omitted)
maxCols - for each column the maximum allowed value (the whoe row will otherwise be omitted)
Returns:
Map::Integer->Integer[]

getDataAsMap

public Map getDataAsMap(Integer number,
                        int maxItems,
                        int[] minCols,
                        int[] maxCols)
Returns the data for the given number up to the given maximum in a map.

Parameters:
maxItems - How many items to return at max otherwise be omitted)
maxCols - for each column the maximum allowed value (the whoe row will otherwise be omitted)
Returns:
Map::Integer->Integer[]

getSingleColumn

public List getSingleColumn(Integer number,
                            int col)
Column here is the column in the initial datafile, count begins with 1. Return the specified column completely.

Parameters:
number -
col -
Returns:
List::Integer

getSingleColumn

public List getSingleColumn(Integer number,
                            int maxItems,
                            int col)