本文整理汇总了Java中com.querydsl.sql.ColumnMetadata类的典型用法代码示例。如果您正苦于以下问题:Java ColumnMetadata类的具体用法?Java ColumnMetadata怎么用?Java ColumnMetadata使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ColumnMetadata类属于com.querydsl.sql包,在下文中一共展示了ColumnMetadata类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: addMetadata
import com.querydsl.sql.ColumnMetadata; //导入依赖的package包/类
public void addMetadata() {
addMetadata(areaSize, ColumnMetadata.named("area_size").withIndex(10).ofType(Types.INTEGER).withSize(10));
addMetadata(consistencyVersion, ColumnMetadata.named("consistency_version").withIndex(2).ofType(Types.INTEGER).withSize(10).notNull());
addMetadata(contactPersonAddress1, ColumnMetadata.named("contact_person_address_1").withIndex(14).ofType(Types.VARCHAR).withSize(255));
addMetadata(contactPersonAddress2, ColumnMetadata.named("contact_person_address_2").withIndex(15).ofType(Types.VARCHAR).withSize(255));
addMetadata(contactPersonEmail, ColumnMetadata.named("contact_person_email").withIndex(18).ofType(Types.VARCHAR).withSize(255));
addMetadata(contactPersonLang, ColumnMetadata.named("contact_person_lang").withIndex(19).ofType(Types.VARCHAR).withSize(255));
addMetadata(contactPersonName, ColumnMetadata.named("contact_person_name").withIndex(13).ofType(Types.VARCHAR).withSize(255));
addMetadata(contactPersonPhone1, ColumnMetadata.named("contact_person_phone_1").withIndex(16).ofType(Types.VARCHAR).withSize(255));
addMetadata(contactPersonPhone2, ColumnMetadata.named("contact_person_phone_2").withIndex(17).ofType(Types.VARCHAR).withSize(255));
addMetadata(contactPersonRhy, ColumnMetadata.named("contact_person_rhy").withIndex(12).ofType(Types.VARCHAR).withSize(255));
addMetadata(contactPersonSsn, ColumnMetadata.named("contact_person_ssn").withIndex(11).ofType(Types.VARCHAR).withSize(11));
addMetadata(latitude, ColumnMetadata.named("latitude").withIndex(8).ofType(Types.INTEGER).withSize(10));
addMetadata(lhOrgId, ColumnMetadata.named("lh_org_id").withIndex(1).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(longitude, ColumnMetadata.named("longitude").withIndex(9).ofType(Types.INTEGER).withSize(10));
addMetadata(mooseAreaCode, ColumnMetadata.named("moose_area_code").withIndex(7).ofType(Types.VARCHAR).withSize(255));
addMetadata(nameFinnish, ColumnMetadata.named("name_finnish").withIndex(4).ofType(Types.VARCHAR).withSize(255));
addMetadata(nameSwedish, ColumnMetadata.named("name_swedish").withIndex(5).ofType(Types.VARCHAR).withSize(255));
addMetadata(officialCode, ColumnMetadata.named("official_code").withIndex(3).ofType(Types.VARCHAR).withSize(7).notNull());
addMetadata(rhyOfficialCode, ColumnMetadata.named("rhy_official_code").withIndex(6).ofType(Types.CHAR).withSize(3));
}
示例2: addMetadata
import com.querydsl.sql.ColumnMetadata; //导入依赖的package包/类
public void addMetadata() {
addMetadata(breakDurationMinutes, ColumnMetadata.named("break_duration_minutes").withIndex(16).ofType(Types.INTEGER).withSize(10));
addMetadata(consistencyVersion, ColumnMetadata.named("consistency_version").withIndex(2).ofType(Types.INTEGER).withSize(10).notNull());
addMetadata(createdByUserId, ColumnMetadata.named("created_by_user_id").withIndex(3).ofType(Types.BIGINT).withSize(19));
addMetadata(creationTime, ColumnMetadata.named("creation_time").withIndex(6).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(deletedByUserId, ColumnMetadata.named("deleted_by_user_id").withIndex(4).ofType(Types.BIGINT).withSize(19));
addMetadata(deletionTime, ColumnMetadata.named("deletion_time").withIndex(8).ofType(Types.TIMESTAMP).withSize(35).withDigits(6));
addMetadata(endDate, ColumnMetadata.named("end_date").withIndex(13).ofType(Types.DATE).withSize(13).notNull());
addMetadata(endTime, ColumnMetadata.named("end_time").withIndex(15).ofType(Types.TIME).withSize(15).withDigits(6).notNull());
addMetadata(groupHuntingDayId, ColumnMetadata.named("group_hunting_day_id").withIndex(1).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(huntingGroupId, ColumnMetadata.named("hunting_group_id").withIndex(9).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(huntingMethod, ColumnMetadata.named("hunting_method").withIndex(18).ofType(Types.INTEGER).withSize(10));
addMetadata(modificationTime, ColumnMetadata.named("modification_time").withIndex(7).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(modifiedByUserId, ColumnMetadata.named("modified_by_user_id").withIndex(5).ofType(Types.BIGINT).withSize(19));
addMetadata(mooseDataCardImportId, ColumnMetadata.named("moose_data_card_import_id").withIndex(19).ofType(Types.BIGINT).withSize(19));
addMetadata(numberOfHounds, ColumnMetadata.named("number_of_hounds").withIndex(17).ofType(Types.INTEGER).withSize(10));
addMetadata(numberOfHunters, ColumnMetadata.named("number_of_hunters").withIndex(12).ofType(Types.SMALLINT).withSize(5));
addMetadata(snowDepth, ColumnMetadata.named("snow_depth").withIndex(11).ofType(Types.SMALLINT).withSize(5));
addMetadata(startDate, ColumnMetadata.named("start_date").withIndex(10).ofType(Types.DATE).withSize(13).notNull());
addMetadata(startTime, ColumnMetadata.named("start_time").withIndex(14).ofType(Types.TIME).withSize(15).withDigits(6).notNull());
}
示例3: addMetadata
import com.querydsl.sql.ColumnMetadata; //导入依赖的package包/类
public void addMetadata() {
addMetadata(category, ColumnMetadata.named("category").withIndex(13).ofType(Types.VARCHAR).withSize(255).notNull());
addMetadata(consistencyVersion, ColumnMetadata.named("consistency_version").withIndex(2).ofType(Types.INTEGER).withSize(10).notNull());
addMetadata(createdByUserId, ColumnMetadata.named("created_by_user_id").withIndex(3).ofType(Types.BIGINT).withSize(19));
addMetadata(creationTime, ColumnMetadata.named("creation_time").withIndex(6).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(deletedByUserId, ColumnMetadata.named("deleted_by_user_id").withIndex(4).ofType(Types.BIGINT).withSize(19));
addMetadata(deletionTime, ColumnMetadata.named("deletion_time").withIndex(8).ofType(Types.TIMESTAMP).withSize(35).withDigits(6));
addMetadata(gameSpeciesId, ColumnMetadata.named("game_species_id").withIndex(1).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(modificationTime, ColumnMetadata.named("modification_time").withIndex(7).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(modifiedByUserId, ColumnMetadata.named("modified_by_user_id").withIndex(5).ofType(Types.BIGINT).withSize(19));
addMetadata(multipleSpecimenAllowedOnHarvest, ColumnMetadata.named("multiple_specimen_allowed_on_harvest").withIndex(14).ofType(Types.BIT).withSize(1).notNull());
addMetadata(nameEnglish, ColumnMetadata.named("name_english").withIndex(15).ofType(Types.VARCHAR).withSize(255).notNull());
addMetadata(nameFinnish, ColumnMetadata.named("name_finnish").withIndex(10).ofType(Types.VARCHAR).withSize(255).notNull());
addMetadata(nameSwedish, ColumnMetadata.named("name_swedish").withIndex(11).ofType(Types.VARCHAR).withSize(255).notNull());
addMetadata(officialCode, ColumnMetadata.named("official_code").withIndex(9).ofType(Types.INTEGER).withSize(10).notNull());
addMetadata(scientificName, ColumnMetadata.named("scientific_name").withIndex(12).ofType(Types.VARCHAR).withSize(100));
addMetadata(srvaOrdinal, ColumnMetadata.named("srva_ordinal").withIndex(16).ofType(Types.INTEGER).withSize(10));
}
示例4: addMetadata
import com.querydsl.sql.ColumnMetadata; //导入依赖的package包/类
public void addMetadata() {
addMetadata(consistencyVersion, ColumnMetadata.named("consistency_version").withIndex(2).ofType(Types.INTEGER).withSize(10).notNull());
addMetadata(createdByUserId, ColumnMetadata.named("created_by_user_id").withIndex(3).ofType(Types.BIGINT).withSize(19));
addMetadata(creationTime, ColumnMetadata.named("creation_time").withIndex(6).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(deletedByUserId, ColumnMetadata.named("deleted_by_user_id").withIndex(4).ofType(Types.BIGINT).withSize(19));
addMetadata(deletionTime, ColumnMetadata.named("deletion_time").withIndex(8).ofType(Types.TIMESTAMP).withSize(35).withDigits(6));
addMetadata(endOfHuntingReportId, ColumnMetadata.named("end_of_hunting_report_id").withIndex(17).ofType(Types.BIGINT).withSize(19));
addMetadata(harvestPermitId, ColumnMetadata.named("harvest_permit_id").withIndex(1).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(harvestsAsList, ColumnMetadata.named("harvests_as_list").withIndex(16).ofType(Types.BIT).withSize(1).notNull());
addMetadata(lhSyncTime, ColumnMetadata.named("lh_sync_time").withIndex(14).ofType(Types.TIMESTAMP).withSize(35).withDigits(6));
addMetadata(modificationTime, ColumnMetadata.named("modification_time").withIndex(7).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(modifiedByUserId, ColumnMetadata.named("modified_by_user_id").withIndex(5).ofType(Types.BIGINT).withSize(19));
addMetadata(mooseAreaId, ColumnMetadata.named("moose_area_id").withIndex(21).ofType(Types.INTEGER).withSize(10));
addMetadata(originalContactPersonId, ColumnMetadata.named("original_contact_person_id").withIndex(9).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(originalPermitId, ColumnMetadata.named("original_permit_id").withIndex(19).ofType(Types.BIGINT).withSize(19));
addMetadata(parsingInfo, ColumnMetadata.named("parsing_info").withIndex(12).ofType(Types.VARCHAR).withSize(255));
addMetadata(permitAreaSize, ColumnMetadata.named("permit_area_size").withIndex(22).ofType(Types.INTEGER).withSize(10));
addMetadata(permitHolderId, ColumnMetadata.named("permit_holder_id").withIndex(18).ofType(Types.BIGINT).withSize(19));
addMetadata(permitNumber, ColumnMetadata.named("permit_number").withIndex(10).ofType(Types.VARCHAR).withSize(255).notNull());
addMetadata(permitType, ColumnMetadata.named("permit_type").withIndex(11).ofType(Types.VARCHAR).withSize(255).notNull());
addMetadata(permitTypeCode, ColumnMetadata.named("permit_type_code").withIndex(15).ofType(Types.CHAR).withSize(3).notNull());
addMetadata(printingUrl, ColumnMetadata.named("printing_url").withIndex(20).ofType(Types.VARCHAR).withSize(2048));
addMetadata(rhyId, ColumnMetadata.named("rhy_id").withIndex(13).ofType(Types.BIGINT).withSize(19).notNull());
}
示例5: addMetadata
import com.querydsl.sql.ColumnMetadata; //导入依赖的package包/类
public void addMetadata() {
addMetadata(additionalInfo, ColumnMetadata.named("additional_info").withIndex(16).ofType(Types.VARCHAR).withSize(255));
addMetadata(beginDate, ColumnMetadata.named("begin_date").withIndex(12).ofType(Types.DATE).withSize(13));
addMetadata(callOrder, ColumnMetadata.named("call_order").withIndex(14).ofType(Types.INTEGER).withSize(10));
addMetadata(consistencyVersion, ColumnMetadata.named("consistency_version").withIndex(2).ofType(Types.INTEGER).withSize(10).notNull());
addMetadata(contactInfoShare, ColumnMetadata.named("contact_info_share").withIndex(17).ofType(Types.VARCHAR).withSize(255));
addMetadata(createdByUserId, ColumnMetadata.named("created_by_user_id").withIndex(3).ofType(Types.BIGINT).withSize(19));
addMetadata(creationTime, ColumnMetadata.named("creation_time").withIndex(6).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(deletedByUserId, ColumnMetadata.named("deleted_by_user_id").withIndex(4).ofType(Types.BIGINT).withSize(19));
addMetadata(deletionTime, ColumnMetadata.named("deletion_time").withIndex(8).ofType(Types.TIMESTAMP).withSize(35).withDigits(6));
addMetadata(endDate, ColumnMetadata.named("end_date").withIndex(13).ofType(Types.DATE).withSize(13));
addMetadata(modificationTime, ColumnMetadata.named("modification_time").withIndex(7).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(modifiedByUserId, ColumnMetadata.named("modified_by_user_id").withIndex(5).ofType(Types.BIGINT).withSize(19));
addMetadata(occupationId, ColumnMetadata.named("occupation_id").withIndex(1).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(occupationType, ColumnMetadata.named("occupation_type").withIndex(11).ofType(Types.VARCHAR).withSize(255).notNull());
addMetadata(organisationId, ColumnMetadata.named("organisation_id").withIndex(9).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(personId, ColumnMetadata.named("person_id").withIndex(10).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(qualificationYear, ColumnMetadata.named("qualification_year").withIndex(15).ofType(Types.INTEGER).withSize(10));
}
示例6: addMetadata
import com.querydsl.sql.ColumnMetadata; //导入依赖的package包/类
public void addMetadata() {
addMetadata(consistencyVersion, ColumnMetadata.named("consistency_version").withIndex(2).ofType(Types.INTEGER).withSize(10).notNull());
addMetadata(createdByUserId, ColumnMetadata.named("created_by_user_id").withIndex(3).ofType(Types.BIGINT).withSize(19));
addMetadata(creationTime, ColumnMetadata.named("creation_time").withIndex(6).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(deletedByUserId, ColumnMetadata.named("deleted_by_user_id").withIndex(4).ofType(Types.BIGINT).withSize(19));
addMetadata(deletionTime, ColumnMetadata.named("deletion_time").withIndex(8).ofType(Types.TIMESTAMP).withSize(35).withDigits(6));
addMetadata(email, ColumnMetadata.named("email").withIndex(15).ofType(Types.VARCHAR).withSize(255));
addMetadata(firstName, ColumnMetadata.named("first_name").withIndex(13).ofType(Types.VARCHAR).withSize(255));
addMetadata(ipWhiteList, ColumnMetadata.named("ip_white_list").withIndex(20).ofType(Types.VARCHAR).withSize(2147483647));
addMetadata(isActive, ColumnMetadata.named("is_active").withIndex(9).ofType(Types.BIT).withSize(1).notNull());
addMetadata(lastName, ColumnMetadata.named("last_name").withIndex(14).ofType(Types.VARCHAR).withSize(255));
addMetadata(localeId, ColumnMetadata.named("locale_id").withIndex(17).ofType(Types.VARCHAR).withSize(255));
addMetadata(modificationTime, ColumnMetadata.named("modification_time").withIndex(7).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(modifiedByUserId, ColumnMetadata.named("modified_by_user_id").withIndex(5).ofType(Types.BIGINT).withSize(19));
addMetadata(password, ColumnMetadata.named("password").withIndex(11).ofType(Types.VARCHAR).withSize(255));
addMetadata(personId, ColumnMetadata.named("person_id").withIndex(19).ofType(Types.BIGINT).withSize(19));
addMetadata(phoneNumber, ColumnMetadata.named("phone_number").withIndex(16).ofType(Types.VARCHAR).withSize(255));
addMetadata(role, ColumnMetadata.named("role").withIndex(12).ofType(Types.VARCHAR).withSize(255).notNull());
addMetadata(timezoneId, ColumnMetadata.named("timezone_id").withIndex(18).ofType(Types.VARCHAR).withSize(255));
addMetadata(userId, ColumnMetadata.named("user_id").withIndex(1).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(username, ColumnMetadata.named("username").withIndex(10).ofType(Types.VARCHAR).withSize(255).notNull());
}
示例7: addMetadata
import com.querydsl.sql.ColumnMetadata; //导入依赖的package包/类
public void addMetadata() {
addMetadata(author, ColumnMetadata.named("author").withIndex(2).ofType(Types.VARCHAR).withSize(255).notNull());
addMetadata(comments, ColumnMetadata.named("comments").withIndex(9).ofType(Types.VARCHAR).withSize(255));
addMetadata(contexts, ColumnMetadata.named("contexts").withIndex(12).ofType(Types.VARCHAR).withSize(255));
addMetadata(dateexecuted, ColumnMetadata.named("dateexecuted").withIndex(4).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(deploymentId, ColumnMetadata.named("deployment_id").withIndex(14).ofType(Types.VARCHAR).withSize(10));
addMetadata(description, ColumnMetadata.named("description").withIndex(8).ofType(Types.VARCHAR).withSize(255));
addMetadata(exectype, ColumnMetadata.named("exectype").withIndex(6).ofType(Types.VARCHAR).withSize(10).notNull());
addMetadata(filename, ColumnMetadata.named("filename").withIndex(3).ofType(Types.VARCHAR).withSize(255).notNull());
addMetadata(id, ColumnMetadata.named("id").withIndex(1).ofType(Types.VARCHAR).withSize(255).notNull());
addMetadata(labels, ColumnMetadata.named("labels").withIndex(13).ofType(Types.VARCHAR).withSize(255));
addMetadata(liquibase, ColumnMetadata.named("liquibase").withIndex(11).ofType(Types.VARCHAR).withSize(20));
addMetadata(md5sum, ColumnMetadata.named("md5sum").withIndex(7).ofType(Types.VARCHAR).withSize(35));
addMetadata(orderexecuted, ColumnMetadata.named("orderexecuted").withIndex(5).ofType(Types.INTEGER).withSize(10).notNull());
addMetadata(tag, ColumnMetadata.named("tag").withIndex(10).ofType(Types.VARCHAR).withSize(255));
}
示例8: addMetadata
import com.querydsl.sql.ColumnMetadata; //导入依赖的package包/类
public void addMetadata() {
addMetadata(consistencyVersion, ColumnMetadata.named("consistency_version").withIndex(2).ofType(Types.INTEGER).withSize(10).notNull());
addMetadata(createdByUserId, ColumnMetadata.named("created_by_user_id").withIndex(3).ofType(Types.BIGINT).withSize(19));
addMetadata(creationTime, ColumnMetadata.named("creation_time").withIndex(6).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(decisionDate, ColumnMetadata.named("decision_date").withIndex(12).ofType(Types.DATE).withSize(13));
addMetadata(deletedByUserId, ColumnMetadata.named("deleted_by_user_id").withIndex(4).ofType(Types.BIGINT).withSize(19));
addMetadata(deletionTime, ColumnMetadata.named("deletion_time").withIndex(8).ofType(Types.TIMESTAMP).withSize(35).withDigits(6));
addMetadata(moderatorUserId, ColumnMetadata.named("moderator_user_id").withIndex(16).ofType(Types.BIGINT).withSize(19));
addMetadata(modificationTime, ColumnMetadata.named("modification_time").withIndex(7).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(modifiedByUserId, ColumnMetadata.named("modified_by_user_id").withIndex(5).ofType(Types.BIGINT).withSize(19));
addMetadata(nominationDate, ColumnMetadata.named("nomination_date").withIndex(11).ofType(Types.DATE).withSize(13));
addMetadata(nominationStatus, ColumnMetadata.named("nomination_status").withIndex(10).ofType(Types.CHAR).withSize(1).notNull());
addMetadata(occupationId, ColumnMetadata.named("occupation_id").withIndex(17).ofType(Types.BIGINT).withSize(19));
addMetadata(occupationNominationId, ColumnMetadata.named("occupation_nomination_id").withIndex(1).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(occupationType, ColumnMetadata.named("occupation_type").withIndex(9).ofType(Types.VARCHAR).withSize(255).notNull());
addMetadata(personId, ColumnMetadata.named("person_id").withIndex(14).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(rhyId, ColumnMetadata.named("rhy_id").withIndex(13).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(rhyPersonId, ColumnMetadata.named("rhy_person_id").withIndex(15).ofType(Types.BIGINT).withSize(19));
}
示例9: addMetadata
import com.querydsl.sql.ColumnMetadata; //导入依赖的package包/类
public void addMetadata() {
addMetadata(consistencyVersion, ColumnMetadata.named("consistency_version").withIndex(2).ofType(Types.INTEGER).withSize(10).notNull());
addMetadata(createdByUserId, ColumnMetadata.named("created_by_user_id").withIndex(3).ofType(Types.BIGINT).withSize(19));
addMetadata(creationTime, ColumnMetadata.named("creation_time").withIndex(6).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(deletedByUserId, ColumnMetadata.named("deleted_by_user_id").withIndex(4).ofType(Types.BIGINT).withSize(19));
addMetadata(deletionTime, ColumnMetadata.named("deletion_time").withIndex(8).ofType(Types.TIMESTAMP).withSize(35).withDigits(6));
addMetadata(externalId, ColumnMetadata.named("external_id").withIndex(9).ofType(Types.VARCHAR).withSize(255));
addMetadata(jhtTrainingId, ColumnMetadata.named("jht_training_id").withIndex(1).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(modificationTime, ColumnMetadata.named("modification_time").withIndex(7).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(modifiedByUserId, ColumnMetadata.named("modified_by_user_id").withIndex(5).ofType(Types.BIGINT).withSize(19));
addMetadata(occupationType, ColumnMetadata.named("occupation_type").withIndex(10).ofType(Types.VARCHAR).withSize(255).notNull());
addMetadata(personId, ColumnMetadata.named("person_id").withIndex(14).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(trainingDate, ColumnMetadata.named("training_date").withIndex(12).ofType(Types.DATE).withSize(13).notNull());
addMetadata(trainingLocation, ColumnMetadata.named("training_location").withIndex(13).ofType(Types.VARCHAR).withSize(2147483647));
addMetadata(trainingType, ColumnMetadata.named("training_type").withIndex(11).ofType(Types.CHAR).withSize(1).notNull());
}
示例10: addMetadata
import com.querydsl.sql.ColumnMetadata; //导入依赖的package包/类
public void addMetadata() {
addMetadata(callback, ColumnMetadata.named("callback").withIndex(10).ofType(Types.VARCHAR).withSize(2147483647));
addMetadata(consumerKey, ColumnMetadata.named("consumer_key").withIndex(6).ofType(Types.VARCHAR).withSize(255));
addMetadata(created, ColumnMetadata.named("created").withIndex(2).ofType(Types.TIMESTAMP).withSize(35).withDigits(6));
addMetadata(id, ColumnMetadata.named("id").withIndex(1).ofType(Types.NUMERIC).withSize(18).notNull());
addMetadata(sessionCreationTime, ColumnMetadata.named("session_creation_time").withIndex(14).ofType(Types.TIMESTAMP).withSize(35).withDigits(6));
addMetadata(sessionHandle, ColumnMetadata.named("session_handle").withIndex(13).ofType(Types.VARCHAR).withSize(255));
addMetadata(sessionLastRenewalTime, ColumnMetadata.named("session_last_renewal_time").withIndex(15).ofType(Types.TIMESTAMP).withSize(35).withDigits(6));
addMetadata(sessionTimeToLive, ColumnMetadata.named("session_time_to_live").withIndex(16).ofType(Types.TIMESTAMP).withSize(35).withDigits(6));
addMetadata(spauth, ColumnMetadata.named("spauth").withIndex(9).ofType(Types.VARCHAR).withSize(60));
addMetadata(spverifier, ColumnMetadata.named("spverifier").withIndex(11).ofType(Types.VARCHAR).withSize(255));
addMetadata(spversion, ColumnMetadata.named("spversion").withIndex(12).ofType(Types.VARCHAR).withSize(60));
addMetadata(token, ColumnMetadata.named("token").withIndex(3).ofType(Types.VARCHAR).withSize(255));
addMetadata(tokenSecret, ColumnMetadata.named("token_secret").withIndex(4).ofType(Types.VARCHAR).withSize(255));
addMetadata(tokenType, ColumnMetadata.named("token_type").withIndex(5).ofType(Types.VARCHAR).withSize(60));
addMetadata(ttl, ColumnMetadata.named("ttl").withIndex(8).ofType(Types.NUMERIC).withSize(18));
addMetadata(username, ColumnMetadata.named("username").withIndex(7).ofType(Types.VARCHAR).withSize(255));
}
示例11: addMetadata
import com.querydsl.sql.ColumnMetadata; //导入依赖的package包/类
public void addMetadata() {
addMetadata(clubId, ColumnMetadata.named("club_id").withIndex(9).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(consistencyVersion, ColumnMetadata.named("consistency_version").withIndex(2).ofType(Types.INTEGER).withSize(10).notNull());
addMetadata(createdByUserId, ColumnMetadata.named("created_by_user_id").withIndex(3).ofType(Types.BIGINT).withSize(19));
addMetadata(creationTime, ColumnMetadata.named("creation_time").withIndex(6).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(deletedByUserId, ColumnMetadata.named("deleted_by_user_id").withIndex(4).ofType(Types.BIGINT).withSize(19));
addMetadata(deletionTime, ColumnMetadata.named("deletion_time").withIndex(8).ofType(Types.TIMESTAMP).withSize(35).withDigits(6));
addMetadata(externalId, ColumnMetadata.named("external_id").withIndex(15).ofType(Types.VARCHAR).withSize(255));
addMetadata(huntingClubAreaId, ColumnMetadata.named("hunting_club_area_id").withIndex(1).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(huntingYear, ColumnMetadata.named("hunting_year").withIndex(10).ofType(Types.INTEGER).withSize(10).notNull());
addMetadata(isActive, ColumnMetadata.named("is_active").withIndex(14).ofType(Types.BIT).withSize(1).notNull());
addMetadata(metsahallitusYear, ColumnMetadata.named("metsahallitus_year").withIndex(16).ofType(Types.INTEGER).withSize(10).notNull());
addMetadata(modificationTime, ColumnMetadata.named("modification_time").withIndex(7).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(modifiedByUserId, ColumnMetadata.named("modified_by_user_id").withIndex(5).ofType(Types.BIGINT).withSize(19));
addMetadata(nameFinnish, ColumnMetadata.named("name_finnish").withIndex(11).ofType(Types.VARCHAR).withSize(255).notNull());
addMetadata(nameSwedish, ColumnMetadata.named("name_swedish").withIndex(12).ofType(Types.VARCHAR).withSize(255).notNull());
addMetadata(zoneId, ColumnMetadata.named("zone_id").withIndex(13).ofType(Types.BIGINT).withSize(19));
}
示例12: addMetadata
import com.querydsl.sql.ColumnMetadata; //导入依赖的package包/类
public void addMetadata() {
addMetadata(commitCount, ColumnMetadata.named("commit_count").withIndex(8).ofType(Types.BIGINT).withSize(19));
addMetadata(endTime, ColumnMetadata.named("end_time").withIndex(6).ofType(Types.TIMESTAMP).withSize(29).withDigits(6));
addMetadata(exitCode, ColumnMetadata.named("exit_code").withIndex(16).ofType(Types.VARCHAR).withSize(20));
addMetadata(exitMessage, ColumnMetadata.named("exit_message").withIndex(17).ofType(Types.VARCHAR).withSize(2500));
addMetadata(filterCount, ColumnMetadata.named("filter_count").withIndex(10).ofType(Types.BIGINT).withSize(19));
addMetadata(jobExecutionId, ColumnMetadata.named("job_execution_id").withIndex(4).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(lastUpdated, ColumnMetadata.named("last_updated").withIndex(18).ofType(Types.TIMESTAMP).withSize(29).withDigits(6));
addMetadata(processSkipCount, ColumnMetadata.named("process_skip_count").withIndex(14).ofType(Types.BIGINT).withSize(19));
addMetadata(readCount, ColumnMetadata.named("read_count").withIndex(9).ofType(Types.BIGINT).withSize(19));
addMetadata(readSkipCount, ColumnMetadata.named("read_skip_count").withIndex(12).ofType(Types.BIGINT).withSize(19));
addMetadata(rollbackCount, ColumnMetadata.named("rollback_count").withIndex(15).ofType(Types.BIGINT).withSize(19));
addMetadata(startTime, ColumnMetadata.named("start_time").withIndex(5).ofType(Types.TIMESTAMP).withSize(29).withDigits(6).notNull());
addMetadata(status, ColumnMetadata.named("status").withIndex(7).ofType(Types.VARCHAR).withSize(10));
addMetadata(stepExecutionId, ColumnMetadata.named("step_execution_id").withIndex(1).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(stepName, ColumnMetadata.named("step_name").withIndex(3).ofType(Types.VARCHAR).withSize(100).notNull());
addMetadata(version, ColumnMetadata.named("version").withIndex(2).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(writeCount, ColumnMetadata.named("write_count").withIndex(11).ofType(Types.BIGINT).withSize(19));
addMetadata(writeSkipCount, ColumnMetadata.named("write_skip_count").withIndex(13).ofType(Types.BIGINT).withSize(19));
}
示例13: addMetadata
import com.querydsl.sql.ColumnMetadata; //导入依赖的package包/类
public void addMetadata() {
addMetadata(adultFemales, ColumnMetadata.named("adult_females").withIndex(14).ofType(Types.INTEGER).withSize(10).notNull());
addMetadata(adultMales, ColumnMetadata.named("adult_males").withIndex(13).ofType(Types.INTEGER).withSize(10).notNull());
addMetadata(consistencyVersion, ColumnMetadata.named("consistency_version").withIndex(2).ofType(Types.INTEGER).withSize(10).notNull());
addMetadata(createdByUserId, ColumnMetadata.named("created_by_user_id").withIndex(3).ofType(Types.BIGINT).withSize(19));
addMetadata(creationTime, ColumnMetadata.named("creation_time").withIndex(6).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(deletedByUserId, ColumnMetadata.named("deleted_by_user_id").withIndex(4).ofType(Types.BIGINT).withSize(19));
addMetadata(deletionTime, ColumnMetadata.named("deletion_time").withIndex(8).ofType(Types.TIMESTAMP).withSize(35).withDigits(6));
addMetadata(gameSpeciesId, ColumnMetadata.named("game_species_id").withIndex(10).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(harvestPermitAllocationId, ColumnMetadata.named("harvest_permit_allocation_id").withIndex(1).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(harvestPermitId, ColumnMetadata.named("harvest_permit_id").withIndex(9).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(huntingClubId, ColumnMetadata.named("hunting_club_id").withIndex(11).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(modificationTime, ColumnMetadata.named("modification_time").withIndex(7).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(modifiedByUserId, ColumnMetadata.named("modified_by_user_id").withIndex(5).ofType(Types.BIGINT).withSize(19));
addMetadata(total, ColumnMetadata.named("total").withIndex(12).ofType(Types.NUMERIC).withSize(4).withDigits(1).notNull());
addMetadata(young, ColumnMetadata.named("young").withIndex(15).ofType(Types.INTEGER).withSize(10).notNull());
}
示例14: addMetadata
import com.querydsl.sql.ColumnMetadata; //导入依赖的package包/类
public void addMetadata() {
addMetadata(entryId, ColumnMetadata.named("entry_id").withIndex(2).ofType(Types.VARCHAR).withSize(95).notNull());
addMetadata(firedTime, ColumnMetadata.named("fired_time").withIndex(7).ofType(Types.NUMERIC).withSize(18));
addMetadata(instanceName, ColumnMetadata.named("instance_name").withIndex(6).ofType(Types.VARCHAR).withSize(200));
addMetadata(isNonconcurrent, ColumnMetadata.named("is_nonconcurrent").withIndex(14).ofType(Types.BIT).withSize(1));
addMetadata(isStateful, ColumnMetadata.named("is_stateful").withIndex(13).ofType(Types.BIT).withSize(1));
addMetadata(isUpdateData, ColumnMetadata.named("is_update_data").withIndex(15).ofType(Types.BIT).withSize(1));
addMetadata(isVolatile, ColumnMetadata.named("is_volatile").withIndex(5).ofType(Types.BIT).withSize(1));
addMetadata(jobGroup, ColumnMetadata.named("job_group").withIndex(12).ofType(Types.VARCHAR).withSize(200));
addMetadata(jobName, ColumnMetadata.named("job_name").withIndex(11).ofType(Types.VARCHAR).withSize(200));
addMetadata(priority, ColumnMetadata.named("priority").withIndex(9).ofType(Types.NUMERIC).withSize(9));
addMetadata(requestsRecovery, ColumnMetadata.named("requests_recovery").withIndex(16).ofType(Types.BIT).withSize(1));
addMetadata(schedName, ColumnMetadata.named("sched_name").withIndex(1).ofType(Types.VARCHAR).withSize(120));
addMetadata(schedTime, ColumnMetadata.named("sched_time").withIndex(8).ofType(Types.NUMERIC).withSize(18));
addMetadata(state, ColumnMetadata.named("state").withIndex(10).ofType(Types.VARCHAR).withSize(16));
addMetadata(triggerGroup, ColumnMetadata.named("trigger_group").withIndex(4).ofType(Types.VARCHAR).withSize(200));
addMetadata(triggerName, ColumnMetadata.named("trigger_name").withIndex(3).ofType(Types.VARCHAR).withSize(200));
}
示例15: addMetadata
import com.querydsl.sql.ColumnMetadata; //导入依赖的package包/类
public void addMetadata() {
addMetadata(beginTime, ColumnMetadata.named("begin_time").withIndex(10).ofType(Types.TIME).withSize(15).withDigits(6).notNull());
addMetadata(calendarEventId, ColumnMetadata.named("calendar_event_id").withIndex(1).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(calendarEventType, ColumnMetadata.named("calendar_event_type").withIndex(12).ofType(Types.VARCHAR).withSize(255));
addMetadata(consistencyVersion, ColumnMetadata.named("consistency_version").withIndex(2).ofType(Types.INTEGER).withSize(10).notNull());
addMetadata(createdByUserId, ColumnMetadata.named("created_by_user_id").withIndex(3).ofType(Types.BIGINT).withSize(19));
addMetadata(creationTime, ColumnMetadata.named("creation_time").withIndex(6).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(date, ColumnMetadata.named("date").withIndex(9).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(deletedByUserId, ColumnMetadata.named("deleted_by_user_id").withIndex(4).ofType(Types.BIGINT).withSize(19));
addMetadata(deletionTime, ColumnMetadata.named("deletion_time").withIndex(8).ofType(Types.TIMESTAMP).withSize(35).withDigits(6));
addMetadata(description, ColumnMetadata.named("description").withIndex(14).ofType(Types.VARCHAR).withSize(2147483647));
addMetadata(endTime, ColumnMetadata.named("end_time").withIndex(11).ofType(Types.TIME).withSize(15).withDigits(6));
addMetadata(modificationTime, ColumnMetadata.named("modification_time").withIndex(7).ofType(Types.TIMESTAMP).withSize(35).withDigits(6).notNull());
addMetadata(modifiedByUserId, ColumnMetadata.named("modified_by_user_id").withIndex(5).ofType(Types.BIGINT).withSize(19));
addMetadata(name, ColumnMetadata.named("name").withIndex(13).ofType(Types.VARCHAR).withSize(255));
addMetadata(organisationId, ColumnMetadata.named("organisation_id").withIndex(15).ofType(Types.BIGINT).withSize(19).notNull());
addMetadata(venueId, ColumnMetadata.named("venue_id").withIndex(16).ofType(Types.BIGINT).withSize(19).notNull());
}