mondrian.rolap.sql
Class SqlQuery.ClauseList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<String>
              extended by mondrian.rolap.sql.SqlQuery.ClauseList
All Implemented Interfaces:
Serializable, Cloneable, Iterable<String>, Collection<String>, List<String>, RandomAccess
Enclosing class:
SqlQuery

static class SqlQuery.ClauseList
extends ArrayList<String>

 

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
SqlQuery.ClauseList(boolean allowDups)
           
 
Method Summary
 boolean add(String element)
          Adds an element to this ClauseList if either duplicates are allowed or if it has not already been added.
(package private)  void print(PrintWriter pw, boolean generateFormattedSql, String prefix, String first, String sep)
           
(package private)  void print(PrintWriter pw, boolean generateFormattedSql, String prefix, String first, String sep, String suffix, String last)
           
(package private)  void toBuffer(StringBuilder buf, String first, String sep)
           
 
Methods inherited from class java.util.ArrayList
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

SqlQuery.ClauseList

SqlQuery.ClauseList(boolean allowDups)
Method Detail

add

public boolean add(String element)
Adds an element to this ClauseList if either duplicates are allowed or if it has not already been added.

Specified by:
add in interface Collection<String>
Specified by:
add in interface List<String>
Overrides:
add in class ArrayList<String>
Parameters:
element - Element to add
Returns:
whether element was added, per Collection.add(Object)

toBuffer

void toBuffer(StringBuilder buf,
              String first,
              String sep)

print

void print(PrintWriter pw,
           boolean generateFormattedSql,
           String prefix,
           String first,
           String sep)

print

void print(PrintWriter pw,
           boolean generateFormattedSql,
           String prefix,
           String first,
           String sep,
           String suffix,
           String last)

SourceForge.net_Logo