public class DefaultNamingScheme extends AbstractNamingScheme implements NamingScheme
codec
Constructor and Description |
---|
DefaultNamingScheme(Codec codec) |
Modifier and Type | Method and Description |
---|---|
String |
getFieldReferenceName(Class<?> entityClass,
Object idValue,
Class<?> fieldClass,
String fieldName,
Object fieldValue) |
String |
getIndexName(Class<?> entityClass,
String fieldName) |
String |
getName(Class<?> entityClass,
Class<?> idFieldClass,
String idFieldName,
Object idValue) |
String |
resolveClassName(String name) |
Object |
resolveId(String name) |
String |
resolveIdFieldName(String name) |
getCodec
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCodec
public DefaultNamingScheme(Codec codec)
public String getName(Class<?> entityClass, Class<?> idFieldClass, String idFieldName, Object idValue)
getName
in interface NamingScheme
public String getFieldReferenceName(Class<?> entityClass, Object idValue, Class<?> fieldClass, String fieldName, Object fieldValue)
getFieldReferenceName
in interface NamingScheme
public String resolveClassName(String name)
resolveClassName
in interface NamingScheme
public String resolveIdFieldName(String name)
resolveIdFieldName
in interface NamingScheme
public Object resolveId(String name)
resolveId
in interface NamingScheme
public String getIndexName(Class<?> entityClass, String fieldName)
getIndexName
in interface NamingScheme
Copyright © 2014–2019 The Redisson Project. All rights reserved.