All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.easy.query.api.proxy.key.MapKeys Maven / Gradle / Ivy

There is a newer version: 2.0.106
Show newest version
package com.easy.query.api.proxy.key;

import java.math.BigDecimal;
import java.sql.Time;
import java.sql.Timestamp;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.List;

/**
 * create time 2024/3/2 19:34
 * 文件说明
 *
 * @author xuejiaming
 */
public class MapKeys {
    private MapKeys(){}

    public static MapKey stringKey(String keyName){
        return new StringMapKey(keyName);
    }
    public static MapKey integerKey(String keyName){
        return new IntegerMapKey(keyName);
    }
    public static MapKey localDateTimeKey(String keyName){
        return new LocalDateTimeMapKey(keyName);
    }
    public static MapKey bigDecimalKey(String keyName){
        return new BigDecimalMapKey(keyName);
    }
    public static MapKey booleanKey(String keyName){
        return new BooleanMapKey(keyName);
    }
    public static MapKey byteArrayKey(String keyName){
        return new ByteArrayMapKey(keyName);
    }
    public static MapKey byteKey(String keyName){
        return new ByteMapKey(keyName);
    }
    public static MapKey doubleKey(String keyName){
        return new DoubleMapKey(keyName);
    }
    public static MapKey floatKey(String keyName){
        return new FloatMapKey(keyName);
    }
    public static  MapKey> listKey(String keyName){
        return new ListMapKey<>(keyName);
    }
    public static MapKey localDateKey(String keyName){
        return new LocalDateMapKey(keyName);
    }
    public static MapKey localTimeKey(String keyName){
        return new LocalTimeMapKey(keyName);
    }
    public static MapKey longKey(String keyName){
        return new LongMapKey(keyName);
    }
    public static MapKey shortKey(String keyName){
        return new ShortMapKey(keyName);
    }
    public static MapKey sqlDateKey(String keyName){
        return new SQLDateMapKey(keyName);
    }
    public static MapKey




© 2015 - 2024 Weber Informatics LLC | Privacy Policy