com.healthmarketscience.jackcess.util
Class EntryIterableBuilder

java.lang.Object
  extended by com.healthmarketscience.jackcess.util.EntryIterableBuilder
All Implemented Interfaces:
Iterable<Row>

public class EntryIterableBuilder
extends Object
implements Iterable<Row>

Builder style class for constructing an IndexCursor entry Iterable/Iterator.

Author:
James Ahlborn
Usage:
General: This class is general use.

Constructor Summary
EntryIterableBuilder(IndexCursor cursor, Object... entryValues)
           
 
Method Summary
 EntryIterableBuilder addColumnNames(Iterable<String> columnNames)
           
 EntryIterableBuilder addColumnNames(String... columnNames)
           
 EntryIterableBuilder addColumns(Iterable<? extends Column> cols)
           
 ColumnMatcher getColumnMatcher()
           
 Collection<String> getColumnNames()
           
 Object[] getEntryValues()
           
 Iterator<Row> iterator()
           
 EntryIterableBuilder setColumnMatcher(ColumnMatcher columnMatcher)
           
 EntryIterableBuilder setColumnNames(Collection<String> columnNames)
           
 EntryIterableBuilder setEntryValues(Object... entryValues)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntryIterableBuilder

public EntryIterableBuilder(IndexCursor cursor,
                            Object... entryValues)
Method Detail

getColumnNames

public Collection<String> getColumnNames()

getColumnMatcher

public ColumnMatcher getColumnMatcher()

getEntryValues

public Object[] getEntryValues()

setColumnNames

public EntryIterableBuilder setColumnNames(Collection<String> columnNames)

addColumnNames

public EntryIterableBuilder addColumnNames(Iterable<String> columnNames)

addColumns

public EntryIterableBuilder addColumns(Iterable<? extends Column> cols)

addColumnNames

public EntryIterableBuilder addColumnNames(String... columnNames)

setEntryValues

public EntryIterableBuilder setEntryValues(Object... entryValues)

setColumnMatcher

public EntryIterableBuilder setColumnMatcher(ColumnMatcher columnMatcher)

iterator

public Iterator<Row> iterator()
Specified by:
iterator in interface Iterable<Row>


Copyright © 2005–2017 Health Market Science. All rights reserved.