com.reinaldoarrosi.android.querybuilder.sqlite.from.TableFrom Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of query-builder Show documentation
Show all versions of query-builder Show documentation
Fluent Android library to build SQLite select statements
The newest version!
package com.reinaldoarrosi.android.querybuilder.sqlite.from;
import java.util.List;
import com.reinaldoarrosi.android.querybuilder.Utils;
public class TableFrom extends AliasableFrom {
private String table;
public TableFrom(String table) {
this.table = table;
}
@Override
public String build() {
String ret = (!Utils.isNullOrWhiteSpace(table) ? table : "");
if(!Utils.isNullOrWhiteSpace(alias))
ret = ret + " AS " + alias;
return ret;
}
@Override
public List