org.mentabean.util
Class SQLBuilder

java.lang.Object
  extended by org.mentabean.util.SQLBuilder
All Implemented Interfaces:
CharSequence

public class SQLBuilder
extends Object
implements CharSequence


Constructor Summary
SQLBuilder()
           
SQLBuilder(int initialCapacity)
           
SQLBuilder(int initialCapacity, TableAlias<?>... aliases)
           
SQLBuilder(TableAlias<?>... aliases)
           
 
Method Summary
 SQLBuilder append(boolean b)
           
 SQLBuilder append(char c)
           
 SQLBuilder append(char[] str)
           
 SQLBuilder append(char[] str, int offset, int len)
           
 SQLBuilder append(CharSequence s)
           
 SQLBuilder append(CharSequence s, int start, int end)
           
 SQLBuilder append(double d)
           
 SQLBuilder append(float f)
           
 SQLBuilder append(int i)
           
 SQLBuilder append(long lng)
           
 SQLBuilder append(Object obj)
           
 SQLBuilder append(String str)
           
 SQLBuilder append(StringBuffer sb)
           
 SQLBuilder appendCodePoint(int codePoint)
           
 int capacity()
           
 char charAt(int index)
           
 int codePointAt(int index)
           
 int codePointBefore(int index)
           
 int codePointCount(int beginIndex, int endIndex)
           
 SQLBuilder column(Object obj)
           
 SQLBuilder delete(int start, int end)
           
 SQLBuilder deleteCharAt(int index)
           
 void ensureCapacity(int minimumCapacity)
           
 boolean equals(Object obj)
           
 void getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin)
           
 int hashCode()
           
 int indexOf(String str)
           
 int indexOf(String str, int fromIndex)
           
 SQLBuilder insert(int offset, boolean b)
           
 SQLBuilder insert(int offset, char c)
           
 SQLBuilder insert(int offset, char[] str)
           
 SQLBuilder insert(int index, char[] str, int offset, int len)
           
 SQLBuilder insert(int dstOffset, CharSequence s)
           
 SQLBuilder insert(int dstOffset, CharSequence s, int start, int end)
           
 SQLBuilder insert(int offset, double d)
           
 SQLBuilder insert(int offset, float f)
           
 SQLBuilder insert(int offset, int i)
           
 SQLBuilder insert(int offset, long l)
           
 SQLBuilder insert(int offset, Object obj)
           
 SQLBuilder insert(int offset, String str)
           
 int lastIndexOf(String str)
           
 int lastIndexOf(String str, int fromIndex)
           
 int length()
           
 int offsetByCodePoints(int index, int codePointOffset)
           
 SQLBuilder replace(int start, int end, String str)
           
 SQLBuilder reverse()
           
 void setCharAt(int index, char ch)
           
 void setLength(int newLength)
           
 CharSequence subSequence(int start, int end)
           
 String substring(int start)
           
 String substring(int start, int end)
           
 String toString()
           
 void trimToSize()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SQLBuilder

public SQLBuilder()

SQLBuilder

public SQLBuilder(int initialCapacity)

SQLBuilder

public SQLBuilder(TableAlias<?>... aliases)

SQLBuilder

public SQLBuilder(int initialCapacity,
                  TableAlias<?>... aliases)
Method Detail

column

public SQLBuilder column(Object obj)

length

public int length()
Specified by:
length in interface CharSequence

charAt

public char charAt(int index)
Specified by:
charAt in interface CharSequence

subSequence

public CharSequence subSequence(int start,
                                int end)
Specified by:
subSequence in interface CharSequence

capacity

public int capacity()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

ensureCapacity

public void ensureCapacity(int minimumCapacity)

trimToSize

public void trimToSize()

setLength

public void setLength(int newLength)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

append

public SQLBuilder append(Object obj)

append

public SQLBuilder append(String str)

append

public SQLBuilder append(StringBuffer sb)

append

public SQLBuilder append(CharSequence s)

codePointAt

public int codePointAt(int index)

append

public SQLBuilder append(CharSequence s,
                         int start,
                         int end)

append

public SQLBuilder append(char[] str)

append

public SQLBuilder append(char[] str,
                         int offset,
                         int len)

append

public SQLBuilder append(boolean b)

append

public SQLBuilder append(char c)

append

public SQLBuilder append(int i)

codePointBefore

public int codePointBefore(int index)

append

public SQLBuilder append(long lng)

append

public SQLBuilder append(float f)

append

public SQLBuilder append(double d)

appendCodePoint

public SQLBuilder appendCodePoint(int codePoint)

delete

public SQLBuilder delete(int start,
                         int end)

deleteCharAt

public SQLBuilder deleteCharAt(int index)

replace

public SQLBuilder replace(int start,
                          int end,
                          String str)

codePointCount

public int codePointCount(int beginIndex,
                          int endIndex)

insert

public SQLBuilder insert(int index,
                         char[] str,
                         int offset,
                         int len)

insert

public SQLBuilder insert(int offset,
                         Object obj)

insert

public SQLBuilder insert(int offset,
                         String str)

insert

public SQLBuilder insert(int offset,
                         char[] str)

insert

public SQLBuilder insert(int dstOffset,
                         CharSequence s)

offsetByCodePoints

public int offsetByCodePoints(int index,
                              int codePointOffset)

insert

public SQLBuilder insert(int dstOffset,
                         CharSequence s,
                         int start,
                         int end)

insert

public SQLBuilder insert(int offset,
                         boolean b)

insert

public SQLBuilder insert(int offset,
                         char c)

insert

public SQLBuilder insert(int offset,
                         int i)

getChars

public void getChars(int srcBegin,
                     int srcEnd,
                     char[] dst,
                     int dstBegin)

insert

public SQLBuilder insert(int offset,
                         long l)

insert

public SQLBuilder insert(int offset,
                         float f)

insert

public SQLBuilder insert(int offset,
                         double d)

indexOf

public int indexOf(String str)

indexOf

public int indexOf(String str,
                   int fromIndex)

lastIndexOf

public int lastIndexOf(String str)

lastIndexOf

public int lastIndexOf(String str,
                       int fromIndex)

reverse

public SQLBuilder reverse()

toString

public String toString()
Specified by:
toString in interface CharSequence
Overrides:
toString in class Object

setCharAt

public void setCharAt(int index,
                      char ch)

substring

public String substring(int start)

substring

public String substring(int start,
                        int end)


Copyright © 2013. All Rights Reserved.