
net.gdface.facedb.db.Constant Maven / Gradle / Ivy
// ______________________________________________________
// Generated by sql2java - https://github.com/10km/sql2java
// JDBC driver used at code generation time: com.mysql.jdbc.Driver
// template: constant.java.vm
// ______________________________________________________
package net.gdface.facedb.db;
/**
* constant declare
* @author guyadong
*/
public interface Constant extends gu.sql2java.Constant {
/** alias name of connection */
public static String ALIAS_NAME = "facedb";
//////////////////////////////////////
// COLUMN COLUMN CONSTANT
//////////////////////////////////////
public static final int FD_FACE_COLUMN_COUNT = 21;
public static final int FD_FACE_PK_COUNT = 1;
public static final int FD_FEATURE_COLUMN_COUNT = 3;
public static final int FD_FEATURE_PK_COUNT = 1;
public static final int FD_IMAGE_COLUMN_COUNT = 9;
public static final int FD_IMAGE_PK_COUNT = 1;
public static final int FD_STORE_COLUMN_COUNT = 3;
public static final int FD_STORE_PK_COUNT = 1;
//////////////////////////////////////
// COLUMN ID DECLARE
//////////////////////////////////////
/** Identify the fd_face.id field (ordinal:1). */
public static final int FD_FACE_ID_ID = 0;
public static final int FD_FACE_ID_ID_MASK = 1 << 0;
/** Identify the fd_face.image_md5 field (ordinal:2). */
public static final int FD_FACE_ID_IMAGE_MD5 = 1;
public static final int FD_FACE_ID_IMAGE_MD5_MASK = 1 << 1;
/** Identify the fd_face.feature_md5 field (ordinal:3). */
public static final int FD_FACE_ID_FEATURE_MD5 = 2;
public static final int FD_FACE_ID_FEATURE_MD5_MASK = 1 << 2;
/** Identify the fd_face.face_left field (ordinal:4). */
public static final int FD_FACE_ID_FACE_LEFT = 3;
public static final int FD_FACE_ID_FACE_LEFT_MASK = 1 << 3;
/** Identify the fd_face.face_top field (ordinal:5). */
public static final int FD_FACE_ID_FACE_TOP = 4;
public static final int FD_FACE_ID_FACE_TOP_MASK = 1 << 4;
/** Identify the fd_face.face_width field (ordinal:6). */
public static final int FD_FACE_ID_FACE_WIDTH = 5;
public static final int FD_FACE_ID_FACE_WIDTH_MASK = 1 << 5;
/** Identify the fd_face.face_height field (ordinal:7). */
public static final int FD_FACE_ID_FACE_HEIGHT = 6;
public static final int FD_FACE_ID_FACE_HEIGHT_MASK = 1 << 6;
/** Identify the fd_face.eye_leftx field (ordinal:8). */
public static final int FD_FACE_ID_EYE_LEFTX = 7;
public static final int FD_FACE_ID_EYE_LEFTX_MASK = 1 << 7;
/** Identify the fd_face.eye_lefty field (ordinal:9). */
public static final int FD_FACE_ID_EYE_LEFTY = 8;
public static final int FD_FACE_ID_EYE_LEFTY_MASK = 1 << 8;
/** Identify the fd_face.eye_rightx field (ordinal:10). */
public static final int FD_FACE_ID_EYE_RIGHTX = 9;
public static final int FD_FACE_ID_EYE_RIGHTX_MASK = 1 << 9;
/** Identify the fd_face.eye_righty field (ordinal:11). */
public static final int FD_FACE_ID_EYE_RIGHTY = 10;
public static final int FD_FACE_ID_EYE_RIGHTY_MASK = 1 << 10;
/** Identify the fd_face.mouth_x field (ordinal:12). */
public static final int FD_FACE_ID_MOUTH_X = 11;
public static final int FD_FACE_ID_MOUTH_X_MASK = 1 << 11;
/** Identify the fd_face.mouth_y field (ordinal:13). */
public static final int FD_FACE_ID_MOUTH_Y = 12;
public static final int FD_FACE_ID_MOUTH_Y_MASK = 1 << 12;
/** Identify the fd_face.nose_x field (ordinal:14). */
public static final int FD_FACE_ID_NOSE_X = 13;
public static final int FD_FACE_ID_NOSE_X_MASK = 1 << 13;
/** Identify the fd_face.nose_y field (ordinal:15). */
public static final int FD_FACE_ID_NOSE_Y = 14;
public static final int FD_FACE_ID_NOSE_Y_MASK = 1 << 14;
/** Identify the fd_face.angle_yaw field (ordinal:16). */
public static final int FD_FACE_ID_ANGLE_YAW = 15;
public static final int FD_FACE_ID_ANGLE_YAW_MASK = 1 << 15;
/** Identify the fd_face.angle_pitch field (ordinal:17). */
public static final int FD_FACE_ID_ANGLE_PITCH = 16;
public static final int FD_FACE_ID_ANGLE_PITCH_MASK = 1 << 16;
/** Identify the fd_face.angle_roll field (ordinal:18). */
public static final int FD_FACE_ID_ANGLE_ROLL = 17;
public static final int FD_FACE_ID_ANGLE_ROLL_MASK = 1 << 17;
/** Identify the fd_face.angle_confidence field (ordinal:19). */
public static final int FD_FACE_ID_ANGLE_CONFIDENCE = 18;
public static final int FD_FACE_ID_ANGLE_CONFIDENCE_MASK = 1 << 18;
/** Identify the fd_face.ext_info field (ordinal:20). */
public static final int FD_FACE_ID_EXT_INFO = 19;
public static final int FD_FACE_ID_EXT_INFO_MASK = 1 << 19;
/** Identify the fd_face.create_time field (ordinal:21). */
public static final int FD_FACE_ID_CREATE_TIME = 20;
public static final int FD_FACE_ID_CREATE_TIME_MASK = 1 << 20;
/** Identify the fd_feature.md5 field (ordinal:1). */
public static final int FD_FEATURE_ID_MD5 = 0;
public static final int FD_FEATURE_ID_MD5_MASK = 1 << 0;
/** Identify the fd_feature.feature field (ordinal:2). */
public static final int FD_FEATURE_ID_FEATURE = 1;
public static final int FD_FEATURE_ID_FEATURE_MASK = 1 << 1;
/** Identify the fd_feature.create_time field (ordinal:3). */
public static final int FD_FEATURE_ID_CREATE_TIME = 2;
public static final int FD_FEATURE_ID_CREATE_TIME_MASK = 1 << 2;
/** Identify the fd_image.md5 field (ordinal:1). */
public static final int FD_IMAGE_ID_MD5 = 0;
public static final int FD_IMAGE_ID_MD5_MASK = 1 << 0;
/** Identify the fd_image.format field (ordinal:2). */
public static final int FD_IMAGE_ID_FORMAT = 1;
public static final int FD_IMAGE_ID_FORMAT_MASK = 1 << 1;
/** Identify the fd_image.width field (ordinal:3). */
public static final int FD_IMAGE_ID_WIDTH = 2;
public static final int FD_IMAGE_ID_WIDTH_MASK = 1 << 2;
/** Identify the fd_image.height field (ordinal:4). */
public static final int FD_IMAGE_ID_HEIGHT = 3;
public static final int FD_IMAGE_ID_HEIGHT_MASK = 1 << 3;
/** Identify the fd_image.depth field (ordinal:5). */
public static final int FD_IMAGE_ID_DEPTH = 4;
public static final int FD_IMAGE_ID_DEPTH_MASK = 1 << 4;
/** Identify the fd_image.face_num field (ordinal:6). */
public static final int FD_IMAGE_ID_FACE_NUM = 5;
public static final int FD_IMAGE_ID_FACE_NUM_MASK = 1 << 5;
/** Identify the fd_image.location field (ordinal:7). */
public static final int FD_IMAGE_ID_LOCATION = 6;
public static final int FD_IMAGE_ID_LOCATION_MASK = 1 << 6;
/** Identify the fd_image.update_time field (ordinal:8). */
public static final int FD_IMAGE_ID_UPDATE_TIME = 7;
public static final int FD_IMAGE_ID_UPDATE_TIME_MASK = 1 << 7;
/** Identify the fd_image.create_time field (ordinal:9). */
public static final int FD_IMAGE_ID_CREATE_TIME = 8;
public static final int FD_IMAGE_ID_CREATE_TIME_MASK = 1 << 8;
/** Identify the fd_store.md5 field (ordinal:1). */
public static final int FD_STORE_ID_MD5 = 0;
public static final int FD_STORE_ID_MD5_MASK = 1 << 0;
/** Identify the fd_store.extension field (ordinal:2). */
public static final int FD_STORE_ID_EXTENSION = 1;
public static final int FD_STORE_ID_EXTENSION_MASK = 1 << 1;
/** Identify the fd_store.data field (ordinal:3). */
public static final int FD_STORE_ID_DATA = 2;
public static final int FD_STORE_ID_DATA_MASK = 1 << 2;
//////////////////////////////////////
// COLUMN NAME DECLARE
//////////////////////////////////////
/////////////////// fd_face ////////////
/** Contains all the pk fields name of the fd_face table.*/
public static final String FD_FACE_PK_FIELDS ="id";
public static final java.util.List FD_FACE_PK_FIELDS_LIST = java.util.Arrays.asList(FD_FACE_PK_FIELDS.split(","));
/** Contains all the full fields of the fd_face table.*/
public static final String FD_FACE_FULL_FIELDS ="fd_face.id"
+ ",fd_face.image_md5"
+ ",fd_face.feature_md5"
+ ",fd_face.face_left"
+ ",fd_face.face_top"
+ ",fd_face.face_width"
+ ",fd_face.face_height"
+ ",fd_face.eye_leftx"
+ ",fd_face.eye_lefty"
+ ",fd_face.eye_rightx"
+ ",fd_face.eye_righty"
+ ",fd_face.mouth_x"
+ ",fd_face.mouth_y"
+ ",fd_face.nose_x"
+ ",fd_face.nose_y"
+ ",fd_face.angle_yaw"
+ ",fd_face.angle_pitch"
+ ",fd_face.angle_roll"
+ ",fd_face.angle_confidence"
+ ",fd_face.ext_info"
+ ",fd_face.create_time";
public static final java.util.List FD_FACE_FULL_FIELDS_LIST = java.util.Arrays.asList(FD_FACE_FULL_FIELDS.split(","));
/** Field that contains the comma separated fields of the fd_face table. */
public static final String FD_FACE_FIELDS = "id"
+ ",image_md5"
+ ",feature_md5"
+ ",face_left"
+ ",face_top"
+ ",face_width"
+ ",face_height"
+ ",eye_leftx"
+ ",eye_lefty"
+ ",eye_rightx"
+ ",eye_righty"
+ ",mouth_x"
+ ",mouth_y"
+ ",nose_x"
+ ",nose_y"
+ ",angle_yaw"
+ ",angle_pitch"
+ ",angle_roll"
+ ",angle_confidence"
+ ",ext_info"
+ ",create_time";
public static final java.util.List FD_FACE_FIELDS_LIST = java.util.Arrays.asList(FD_FACE_FIELDS.split(","));
/** Field that contains the comma separated java fields of the fd_face table. */
public static final String FD_FACE_JAVA_FIELDS = "id"
+ ",imageMd5"
+ ",featureMd5"
+ ",faceLeft"
+ ",faceTop"
+ ",faceWidth"
+ ",faceHeight"
+ ",eyeLeftx"
+ ",eyeLefty"
+ ",eyeRightx"
+ ",eyeRighty"
+ ",mouthX"
+ ",mouthY"
+ ",noseX"
+ ",noseY"
+ ",angleYaw"
+ ",anglePitch"
+ ",angleRoll"
+ ",angleConfidence"
+ ",extInfo"
+ ",createTime";
public static final java.util.List FD_FACE_JAVA_FIELDS_LIST = java.util.Arrays.asList(FD_FACE_JAVA_FIELDS.split(","));
/** Field java types of the fd_face table. */
public static final Class>[] FD_FACE_FIELD_TYPES = new Class>[]{
Integer.class,
String.class,
String.class,
Integer.class,
Integer.class,
Integer.class,
Integer.class,
Integer.class,
Integer.class,
Integer.class,
Integer.class,
Integer.class,
Integer.class,
Integer.class,
Integer.class,
Integer.class,
Integer.class,
Integer.class,
Float.class,
java.nio.ByteBuffer.class,
java.util.Date.class};
/** Field size of the fd_face table. */
public static final int[] FD_FACE_FIELD_SIZES = new int[]{
10,
32,
32,
10,
10,
10,
10,
10,
10,
10,
10,
10,
10,
10,
10,
10,
10,
10,
12,
65535,
19};
/** Field SQL types of the fd_face table. */
public static final int[] FD_FACE_FIELD_SQL_TYPES = new int[]{
4/*Types.INTEGER*/,
1/*Types.CHAR*/,
1/*Types.CHAR*/,
4/*Types.INTEGER*/,
4/*Types.INTEGER*/,
4/*Types.INTEGER*/,
4/*Types.INTEGER*/,
4/*Types.INTEGER*/,
4/*Types.INTEGER*/,
4/*Types.INTEGER*/,
4/*Types.INTEGER*/,
4/*Types.INTEGER*/,
4/*Types.INTEGER*/,
4/*Types.INTEGER*/,
4/*Types.INTEGER*/,
4/*Types.INTEGER*/,
4/*Types.INTEGER*/,
4/*Types.INTEGER*/,
7/*Types.REAL*/,
-4/*Types.LONGVARBINARY*/,
93/*Types.TIMESTAMP*/};
/////////////////// fd_feature ////////////
/** Contains all the pk fields name of the fd_feature table.*/
public static final String FD_FEATURE_PK_FIELDS ="md5";
public static final java.util.List FD_FEATURE_PK_FIELDS_LIST = java.util.Arrays.asList(FD_FEATURE_PK_FIELDS.split(","));
/** Contains all the full fields of the fd_feature table.*/
public static final String FD_FEATURE_FULL_FIELDS ="fd_feature.md5"
+ ",fd_feature.feature"
+ ",fd_feature.create_time";
public static final java.util.List FD_FEATURE_FULL_FIELDS_LIST = java.util.Arrays.asList(FD_FEATURE_FULL_FIELDS.split(","));
/** Field that contains the comma separated fields of the fd_feature table. */
public static final String FD_FEATURE_FIELDS = "md5"
+ ",feature"
+ ",create_time";
public static final java.util.List FD_FEATURE_FIELDS_LIST = java.util.Arrays.asList(FD_FEATURE_FIELDS.split(","));
/** Field that contains the comma separated java fields of the fd_feature table. */
public static final String FD_FEATURE_JAVA_FIELDS = "md5"
+ ",feature"
+ ",createTime";
public static final java.util.List FD_FEATURE_JAVA_FIELDS_LIST = java.util.Arrays.asList(FD_FEATURE_JAVA_FIELDS.split(","));
/** Field java types of the fd_feature table. */
public static final Class>[] FD_FEATURE_FIELD_TYPES = new Class>[]{
String.class,
java.nio.ByteBuffer.class,
java.util.Date.class};
/** Field size of the fd_feature table. */
public static final int[] FD_FEATURE_FIELD_SIZES = new int[]{
32,
65535,
19};
/** Field SQL types of the fd_feature table. */
public static final int[] FD_FEATURE_FIELD_SQL_TYPES = new int[]{
1/*Types.CHAR*/,
-4/*Types.LONGVARBINARY*/,
93/*Types.TIMESTAMP*/};
/////////////////// fd_image ////////////
/** Contains all the pk fields name of the fd_image table.*/
public static final String FD_IMAGE_PK_FIELDS ="md5";
public static final java.util.List FD_IMAGE_PK_FIELDS_LIST = java.util.Arrays.asList(FD_IMAGE_PK_FIELDS.split(","));
/** Contains all the full fields of the fd_image table.*/
public static final String FD_IMAGE_FULL_FIELDS ="fd_image.md5"
+ ",fd_image.format"
+ ",fd_image.width"
+ ",fd_image.height"
+ ",fd_image.depth"
+ ",fd_image.face_num"
+ ",fd_image.location"
+ ",fd_image.update_time"
+ ",fd_image.create_time";
public static final java.util.List FD_IMAGE_FULL_FIELDS_LIST = java.util.Arrays.asList(FD_IMAGE_FULL_FIELDS.split(","));
/** Field that contains the comma separated fields of the fd_image table. */
public static final String FD_IMAGE_FIELDS = "md5"
+ ",format"
+ ",width"
+ ",height"
+ ",depth"
+ ",face_num"
+ ",location"
+ ",update_time"
+ ",create_time";
public static final java.util.List FD_IMAGE_FIELDS_LIST = java.util.Arrays.asList(FD_IMAGE_FIELDS.split(","));
/** Field that contains the comma separated java fields of the fd_image table. */
public static final String FD_IMAGE_JAVA_FIELDS = "md5"
+ ",format"
+ ",width"
+ ",height"
+ ",depth"
+ ",faceNum"
+ ",location"
+ ",updateTime"
+ ",createTime";
public static final java.util.List FD_IMAGE_JAVA_FIELDS_LIST = java.util.Arrays.asList(FD_IMAGE_JAVA_FIELDS.split(","));
/** Field java types of the fd_image table. */
public static final Class>[] FD_IMAGE_FIELD_TYPES = new Class>[]{
String.class,
String.class,
Integer.class,
Integer.class,
Integer.class,
Integer.class,
String.class,
java.util.Date.class,
java.util.Date.class};
/** Field size of the fd_image table. */
public static final int[] FD_IMAGE_FIELD_SIZES = new int[]{
32,
32,
10,
10,
10,
10,
64,
19,
19};
/** Field SQL types of the fd_image table. */
public static final int[] FD_IMAGE_FIELD_SQL_TYPES = new int[]{
1/*Types.CHAR*/,
12/*Types.VARCHAR*/,
4/*Types.INTEGER*/,
4/*Types.INTEGER*/,
4/*Types.INTEGER*/,
4/*Types.INTEGER*/,
12/*Types.VARCHAR*/,
93/*Types.TIMESTAMP*/,
93/*Types.TIMESTAMP*/};
/////////////////// fd_store ////////////
/** Contains all the pk fields name of the fd_store table.*/
public static final String FD_STORE_PK_FIELDS ="md5";
public static final java.util.List FD_STORE_PK_FIELDS_LIST = java.util.Arrays.asList(FD_STORE_PK_FIELDS.split(","));
/** Contains all the full fields of the fd_store table.*/
public static final String FD_STORE_FULL_FIELDS ="fd_store.md5"
+ ",fd_store.extension"
+ ",fd_store.data";
public static final java.util.List FD_STORE_FULL_FIELDS_LIST = java.util.Arrays.asList(FD_STORE_FULL_FIELDS.split(","));
/** Field that contains the comma separated fields of the fd_store table. */
public static final String FD_STORE_FIELDS = "md5"
+ ",extension"
+ ",data";
public static final java.util.List FD_STORE_FIELDS_LIST = java.util.Arrays.asList(FD_STORE_FIELDS.split(","));
/** Field that contains the comma separated java fields of the fd_store table. */
public static final String FD_STORE_JAVA_FIELDS = "md5"
+ ",extension"
+ ",data";
public static final java.util.List FD_STORE_JAVA_FIELDS_LIST = java.util.Arrays.asList(FD_STORE_JAVA_FIELDS.split(","));
/** Field java types of the fd_store table. */
public static final Class>[] FD_STORE_FIELD_TYPES = new Class>[]{
String.class,
String.class,
java.nio.ByteBuffer.class};
/** Field size of the fd_store table. */
public static final int[] FD_STORE_FIELD_SIZES = new int[]{
32,
32,
16777215};
/** Field SQL types of the fd_store table. */
public static final int[] FD_STORE_FIELD_SQL_TYPES = new int[]{
1/*Types.CHAR*/,
12/*Types.VARCHAR*/,
-4/*Types.LONGVARBINARY*/};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy