com.reinaldoarrosi.android.querybuilder.sqlite.projection.SubQueryProjection 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.projection;
import java.util.List;
import com.reinaldoarrosi.android.querybuilder.Utils;
import com.reinaldoarrosi.android.querybuilder.sqlite.QueryBuilder;
public class SubQueryProjection extends Projection {
private QueryBuilder subQuery;
public SubQueryProjection(QueryBuilder subQuery) {
this.subQuery = subQuery;
}
@Override
public String build() {
if(subQuery != null)
return "(" + subQuery.build() + ")";
else
return "";
}
@Override
public List