当前位置: 首页>>代码示例>>Java>>正文


Java SqlUtils.appendColumns方法代码示例

本文整理汇总了Java中de.greenrobot.dao.internal.SqlUtils.appendColumns方法的典型用法代码示例。如果您正苦于以下问题:Java SqlUtils.appendColumns方法的具体用法?Java SqlUtils.appendColumns怎么用?Java SqlUtils.appendColumns使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在de.greenrobot.dao.internal.SqlUtils的用法示例。


在下文中一共展示了SqlUtils.appendColumns方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getSelectDeep

import de.greenrobot.dao.internal.SqlUtils; //导入方法依赖的package包/类
protected String getSelectDeep() {
    if (selectDeep == null) {
        StringBuilder builder = new StringBuilder("SELECT ");
        SqlUtils.appendColumns(builder, "T", getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T0", daoSession.getBUserDao().getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T1", daoSession.getBThreadDao().getAllColumns());
        builder.append(" FROM BMESSAGE T");
        builder.append(" LEFT JOIN BUSER T0 ON T.'SENDER'=T0.'_id'");
        builder.append(" LEFT JOIN BTHREAD T1 ON T.'THREAD_DAO_ID'=T1.'_id'");
        builder.append(' ');
        selectDeep = builder.toString();
    }
    return selectDeep;
}
 
开发者ID:MobileDev418,项目名称:AndroidBackendlessChat,代码行数:17,代码来源:BMessageDao.java

示例2: getSelectDeep

import de.greenrobot.dao.internal.SqlUtils; //导入方法依赖的package包/类
protected String getSelectDeep() {
    if (selectDeep == null) {
        StringBuilder builder = new StringBuilder("SELECT ");
        SqlUtils.appendColumns(builder, "T", getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T0", daoSession.getBUserDao().getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T1", daoSession.getBUserDao().getAllColumns());
        builder.append(" FROM CONTACT_LINK T");
        builder.append(" LEFT JOIN BUSER T0 ON T.'BUSER_DAO_ID'=T0.'_id'");
        builder.append(" LEFT JOIN BUSER T1 ON T.'LINK_OWNER_BUSER_DAO_ID'=T1.'_id'");
        builder.append(' ');
        selectDeep = builder.toString();
    }
    return selectDeep;
}
 
开发者ID:MobileDev418,项目名称:AndroidBackendlessChat,代码行数:17,代码来源:ContactLinkDao.java

示例3: getSelectDeep

import de.greenrobot.dao.internal.SqlUtils; //导入方法依赖的package包/类
protected String getSelectDeep() {
    if (selectDeep == null) {
        StringBuilder builder = new StringBuilder("SELECT ");
        SqlUtils.appendColumns(builder, "T", getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T0", daoSession.getBUserDao().getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T1", daoSession.getBThreadDao().getAllColumns());
        builder.append(" FROM USER_THREAD_LINK T");
        builder.append(" LEFT JOIN BUSER T0 ON T.'BUSER_DAO_ID'=T0.'_id'");
        builder.append(" LEFT JOIN BTHREAD T1 ON T.'BTHREAD_DAO_ID'=T1.'_id'");
        builder.append(' ');
        selectDeep = builder.toString();
    }
    return selectDeep;
}
 
开发者ID:MobileDev418,项目名称:AndroidBackendlessChat,代码行数:17,代码来源:UserThreadLinkDao.java

示例4: getSelectDeep

import de.greenrobot.dao.internal.SqlUtils; //导入方法依赖的package包/类
protected String getSelectDeep() {
    if (selectDeep == null) {
        StringBuilder builder = new StringBuilder("SELECT ");
        SqlUtils.appendColumns(builder, "T", getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T0", daoSession.getBUserDao().getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T1", daoSession.getBUserDao().getAllColumns());
        builder.append(" FROM FOLLOWER_LINK T");
        builder.append(" LEFT JOIN BUSER T0 ON T.'BUSER_DAO_ID'=T0.'_id'");
        builder.append(" LEFT JOIN BUSER T1 ON T.'LINK_OWNER_BUSER_DAO_ID'=T1.'_id'");
        builder.append(' ');
        selectDeep = builder.toString();
    }
    return selectDeep;
}
 
开发者ID:MobileDev418,项目名称:AndroidBackendlessChat,代码行数:17,代码来源:FollowerLinkDao.java

示例5: getSelectDeep

import de.greenrobot.dao.internal.SqlUtils; //导入方法依赖的package包/类
protected String getSelectDeep() {
    if (selectDeep == null) {
        StringBuilder builder = new StringBuilder("SELECT ");
        SqlUtils.appendColumns(builder, "T", getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T0", daoSession.getUserDao().getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T1", daoSession.getVotesDao().getAllColumns());
        builder.append(" FROM ITEM T");
        builder.append(" LEFT JOIN USER T0 ON T.'USERID'=T0.'_id'");
        builder.append(" LEFT JOIN VOTES T1 ON T.'VOTEID'=T1.'_id'");
        builder.append(' ');
        selectDeep = builder.toString();
    }
    return selectDeep;
}
 
开发者ID:robertzhang,项目名称:JokeAndroidClient,代码行数:17,代码来源:ItemDao.java

示例6: getSelectDeep

import de.greenrobot.dao.internal.SqlUtils; //导入方法依赖的package包/类
protected String getSelectDeep() {
    if (selectDeep == null) {
        StringBuilder builder = new StringBuilder("SELECT ");
        SqlUtils.appendColumns(builder, "T", getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T0", daoSession.getVersionDao().getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T1", daoSession.getAudioBookDao().getAllColumns());
        builder.append(" FROM BOOK T");
        builder.append(" LEFT JOIN VERSION T0 ON T.\"VERSION_ID\"=T0.\"_id\"");
        builder.append(" LEFT JOIN AUDIO_BOOK T1 ON T.\"AUDIO_BOOK_ID\"=T1.\"_id\"");
        builder.append(' ');
        selectDeep = builder.toString();
    }
    return selectDeep;
}
 
开发者ID:unfoldingWord-dev,项目名称:uw-android,代码行数:17,代码来源:BookDao.java

示例7: getSelectDeep

import de.greenrobot.dao.internal.SqlUtils; //导入方法依赖的package包/类
protected String getSelectDeep() {
    if (selectDeep == null) {
        StringBuilder builder = new StringBuilder("SELECT ");
        SqlUtils.appendColumns(builder, "T", getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T0", daoSession.getBookDao().getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T1", daoSession.getAudioChapterDao().getAllColumns());
        builder.append(" FROM VERIFICATION T");
        builder.append(" LEFT JOIN BOOK T0 ON T.\"BOOK_ID\"=T0.\"_id\"");
        builder.append(" LEFT JOIN AUDIO_CHAPTER T1 ON T.\"AUDIO_CHAPTER_ID\"=T1.\"_id\"");
        builder.append(' ');
        selectDeep = builder.toString();
    }
    return selectDeep;
}
 
开发者ID:unfoldingWord-dev,项目名称:uw-android,代码行数:17,代码来源:VerificationDao.java

示例8: getSelectDeep

import de.greenrobot.dao.internal.SqlUtils; //导入方法依赖的package包/类
protected String getSelectDeep() {
    if (selectDeep == null) {
        StringBuilder builder = new StringBuilder("SELECT ");
        SqlUtils.appendColumns(builder, "T", getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T0", daoSession.getBUserDao().getAllColumns());
        builder.append(" FROM BTHREAD T");
        builder.append(" LEFT JOIN BUSER T0 ON T.'CREATOR__ID'=T0.'_id'");
        builder.append(' ');
        selectDeep = builder.toString();
    }
    return selectDeep;
}
 
开发者ID:MobileDev418,项目名称:AndroidBackendlessChat,代码行数:14,代码来源:BThreadDao.java

示例9: getSelectDeep

import de.greenrobot.dao.internal.SqlUtils; //导入方法依赖的package包/类
protected String getSelectDeep() {
    if (selectDeep == null) {
        StringBuilder builder = new StringBuilder("SELECT ");
        SqlUtils.appendColumns(builder, "T", getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T0", daoSession.getBUserDao().getAllColumns());
        builder.append(" FROM BLINKED_ACCOUNT T");
        builder.append(" LEFT JOIN BUSER T0 ON T.'BUSER_DAO_ID'=T0.'_id'");
        builder.append(' ');
        selectDeep = builder.toString();
    }
    return selectDeep;
}
 
开发者ID:MobileDev418,项目名称:AndroidBackendlessChat,代码行数:14,代码来源:BLinkedAccountDao.java

示例10: getSelectDeep

import de.greenrobot.dao.internal.SqlUtils; //导入方法依赖的package包/类
protected String getSelectDeep() {
    if (selectDeep == null) {
        StringBuilder builder = new StringBuilder("SELECT ");
        SqlUtils.appendColumns(builder, "T", getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T0", daoSession.getAlloperatorsDao().getAllColumns());
        builder.append(" FROM OPERATORS T");
        builder.append(" LEFT JOIN ALLOPERATORS T0 ON T.\"OUTER_ID\"=T0.\"_id\"");
        builder.append(' ');
        selectDeep = builder.toString();
    }
    return selectDeep;
}
 
开发者ID:cowthan,项目名称:AyoRxJava,代码行数:14,代码来源:operatorsDao.java

示例11: getSelectDeep

import de.greenrobot.dao.internal.SqlUtils; //导入方法依赖的package包/类
protected String getSelectDeep() {
    if (selectDeep == null) {
        StringBuilder builder = new StringBuilder("SELECT ");
        SqlUtils.appendColumns(builder, "T", getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T0", daoSession.getOperatorsDao().getAllColumns());
        builder.append(" FROM ALLOPERATORS T");
        builder.append(" LEFT JOIN OPERATORS T0 ON T.\"OPERATORS_ID\"=T0.\"_id\"");
        builder.append(' ');
        selectDeep = builder.toString();
    }
    return selectDeep;
}
 
开发者ID:cowthan,项目名称:AyoRxJava,代码行数:14,代码来源:alloperatorsDao.java

示例12: getSelectDeep

import de.greenrobot.dao.internal.SqlUtils; //导入方法依赖的package包/类
protected String getSelectDeep() {
    if (selectDeep == null) {
        StringBuilder builder = new StringBuilder("SELECT ");
        SqlUtils.appendColumns(builder, "T", getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T0", daoSession.getSettingsDao().getAllColumns());
        builder.append(" FROM USER T");
        builder.append(" LEFT JOIN SETTINGS T0 ON T.\"SETTINGS_ID\"=T0.\"_id\"");
        builder.append(' ');
        selectDeep = builder.toString();
    }
    return selectDeep;
}
 
开发者ID:Kamshak,项目名称:BrainPhaser,代码行数:14,代码来源:UserDao.java

示例13: getSelectDeep

import de.greenrobot.dao.internal.SqlUtils; //导入方法依赖的package包/类
protected String getSelectDeep() {
    if (selectDeep == null) {
        StringBuilder builder = new StringBuilder("SELECT ");
        SqlUtils.appendColumns(builder, "T", getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T0", daoSession.getChallengeDao().getAllColumns());
        builder.append(" FROM COMPLETION T");
        builder.append(" LEFT JOIN CHALLENGE T0 ON T.\"CHALLENGE_ID\"=T0.\"_id\"");
        builder.append(' ');
        selectDeep = builder.toString();
    }
    return selectDeep;
}
 
开发者ID:Kamshak,项目名称:BrainPhaser,代码行数:14,代码来源:CompletionDao.java

示例14: getSelectDeep

import de.greenrobot.dao.internal.SqlUtils; //导入方法依赖的package包/类
protected String getSelectDeep() {
    if (selectDeep == null) {
        StringBuilder builder = new StringBuilder("SELECT ");
        SqlUtils.appendColumns(builder, "T", getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T0", daoSession.getChallengeDao().getAllColumns());
        builder.append(" FROM STATISTICS T");
        builder.append(" LEFT JOIN CHALLENGE T0 ON T.\"CHALLENGE_ID\"=T0.\"_id\"");
        builder.append(' ');
        selectDeep = builder.toString();
    }
    return selectDeep;
}
 
开发者ID:Kamshak,项目名称:BrainPhaser,代码行数:14,代码来源:StatisticsDao.java

示例15: getSelectDeep

import de.greenrobot.dao.internal.SqlUtils; //导入方法依赖的package包/类
protected String getSelectDeep() {
    if (selectDeep == null) {
        StringBuilder builder = new StringBuilder("SELECT ");
        SqlUtils.appendColumns(builder, "T", getAllColumns());
        builder.append(',');
        SqlUtils.appendColumns(builder, "T0", daoSession.getArticleTypeDao().getAllColumns());
        builder.append(" FROM ARTICLE_ITEM_CACHE T");
        builder.append(" LEFT JOIN ARTICLE_TYPE T0 ON T.\"TYPE_ID\"=T0.\"_id\"");
        builder.append(' ');
        selectDeep = builder.toString();
    }
    return selectDeep;
}
 
开发者ID:Thereisnospon,项目名称:BlogReader,代码行数:14,代码来源:ArticleItemCacheDao.java


注:本文中的de.greenrobot.dao.internal.SqlUtils.appendColumns方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。