Skip to content

Commit

Permalink
added getters
Browse files Browse the repository at this point in the history
  • Loading branch information
cwensel committed Jun 15, 2009
1 parent 74578c7 commit 20d28cc
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/java/cascading/jdbc/JDBCScheme.java
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,26 @@ public JDBCScheme( Fields columnFields, String[] columns, String selectQuery, St
this( null, columnFields, columns, selectQuery, countQuery, -1 );
}

/**
* Method getColumns returns the columns of this JDBCScheme object.
*
* @return the columns (type String[]) of this JDBCScheme object.
*/
public String[] getColumns()
{
return columns;
}

/**
* Method getOrderBy returns the orderBy of this JDBCScheme object.
*
* @return the orderBy (type String[]) of this JDBCScheme object.
*/
public String[] getOrderBy()
{
return orderBy;
}

public void sourceInit( Tap tap, JobConf conf ) throws IOException
{
int concurrentReads = ( (JDBCTap) tap ).concurrentReads;
Expand Down

0 comments on commit 20d28cc

Please sign in to comment.