Class RecordToDBFields


  • public class RecordToDBFields
    extends Object
    • Field Detail

      • clz

        protected final Class<? extends org.gcube.documentstore.records.Record> clz
      • typeName

        protected final String typeName
      • tableName

        protected final String tableName
      • tableFieldToRecordField

        protected final Map<String,​String> tableFieldToRecordField
      • recordFieldToTableField

        protected final Map<String,​String> recordFieldToTableField
    • Constructor Detail

      • RecordToDBFields

        protected RecordToDBFields​(String typeName,
                                   Class<? extends org.gcube.documentstore.records.Record> clz)
                            throws Exception
        Throws:
        Exception
    • Method Detail

      • getKey

        public static String getKey​(String fieldName)
      • getTableField

        public String getTableField​(String recordField)
      • getRecordField

        public String getRecordField​(String tableField)
      • getTypeName

        public String getTypeName()
      • getTableName

        public String getTableName()