net.gdface.facedb.db.FaceMetaData Maven / Gradle / Ivy
The newest version!
// ______________________________________________________
// Generated by sql2java - https://github.com/10km/sql2java
// JDBC driver used at code generation time: com.mysql.jdbc.Driver
// template: metadata.java.vm
// ______________________________________________________
package net.gdface.facedb.db;
import java.util.List;
import java.util.Arrays;
import gu.sql2java.RowMetaData;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableList;
/**
* Class to supply table meta data for the fd_face table.
* @author guyadong
*/
public class FaceMetaData extends RowMetaData implements Constant
{
private static final ImmutableMap JUNCTION_TABLE_PK_MAP = ImmutableMap.of();
private static final ImmutableList FOREIGN_KEYS =
ImmutableList.builder()
.add("fd_face_ibfk_2 (feature_md5) REFERENCES fd_feature(md5) RESTRICT SET_NULL")
.add("fd_face_ibfk_1 (image_md5) REFERENCES fd_image(md5) RESTRICT CASCADE")
.build();
private static final ImmutableList IMPORTED_FKNAMES =
ImmutableList.builder()
.build();
private static final ImmutableList INDEXS =
ImmutableList.builder()
.add("feature_md5 (feature_md5) ")
.add("image_md5 (image_md5) ")
.build();
private static final List GETTERS = Arrays.asList("getId","getImageMd5","getFeatureMd5","getFaceLeft","getFaceTop","getFaceWidth","getFaceHeight","getEyeLeftx","getEyeLefty","getEyeRightx","getEyeRighty","getMouthX","getMouthY","getNoseX","getNoseY","getAngleYaw","getAnglePitch","getAngleRoll","getAngleConfidence","getExtInfo","getCreateTime");
private static final List SETTERS = Arrays.asList("setId","setImageMd5","setFeatureMd5","setFaceLeft","setFaceTop","setFaceWidth","setFaceHeight","setEyeLeftx","setEyeLefty","setEyeRightx","setEyeRighty","setMouthX","setMouthY","setNoseX","setNoseY","setAngleYaw","setAnglePitch","setAngleRoll","setAngleConfidence","setExtInfo","setCreateTime");
private static final String AUTO_INCREMENT_COLUMN = "id";
private static final Class> LOCK_COLUMN_TYPE = null;
private static final String LOCK_COLUMN_NAME = null;
public FaceMetaData(){
super(
"fd_face",
"TABLE",
FaceBean.class,
"Face",
IFaceManager.class,
ALIAS_NAME,
FD_FACE_FIELDS_LIST,
FD_FACE_JAVA_FIELDS_LIST,
GETTERS,
SETTERS,
FD_FACE_FIELD_TYPES,
FD_FACE_FIELD_SIZES,
FD_FACE_FIELD_SQL_TYPES,
FD_FACE_PK_FIELDS_LIST,
JUNCTION_TABLE_PK_MAP,
LOCK_COLUMN_TYPE,
LOCK_COLUMN_NAME,
FOREIGN_KEYS,
IMPORTED_FKNAMES,
INDEXS,
AUTO_INCREMENT_COLUMN
);
}
}