Class PlatformDotNetBinaryTypeConfiguration
- java.lang.Object
-
- org.apache.ignite.platform.dotnet.PlatformDotNetBinaryTypeConfiguration
-
public class PlatformDotNetBinaryTypeConfiguration extends Object
Mirror of .Net class BinaryTypeConfiguration.cs
-
-
Constructor Summary
Constructors Constructor Description PlatformDotNetBinaryTypeConfiguration()Default constructor.PlatformDotNetBinaryTypeConfiguration(PlatformDotNetBinaryTypeConfiguration cfg)Copy constructor.
-
Method Summary
-
-
-
Constructor Detail
-
PlatformDotNetBinaryTypeConfiguration
public PlatformDotNetBinaryTypeConfiguration()
Default constructor.
-
PlatformDotNetBinaryTypeConfiguration
public PlatformDotNetBinaryTypeConfiguration(PlatformDotNetBinaryTypeConfiguration cfg)
Copy constructor.- Parameters:
cfg- configuration to copy.
-
-
Method Detail
-
getTypeName
public String getTypeName()
- Returns:
- Type name.
-
setTypeName
public PlatformDotNetBinaryTypeConfiguration setTypeName(String typeName)
- Parameters:
typeName- New type name.- Returns:
thisfor chaining.
-
getNameMapper
public String getNameMapper()
- Returns:
- Name mapper.
-
setNameMapper
public PlatformDotNetBinaryTypeConfiguration setNameMapper(String nameMapper)
- Parameters:
nameMapper- New name mapper.- Returns:
thisfor chaining.
-
getIdMapper
public String getIdMapper()
- Returns:
- Id mapper.
-
setIdMapper
public PlatformDotNetBinaryTypeConfiguration setIdMapper(String idMapper)
- Parameters:
idMapper- New id mapper.- Returns:
thisfor chaining.
-
getSerializer
public String getSerializer()
- Returns:
- Serializer.
-
setSerializer
public PlatformDotNetBinaryTypeConfiguration setSerializer(String serializer)
- Parameters:
serializer- New serializer.- Returns:
thisfor chaining.
-
getAffinityKeyFieldName
public String getAffinityKeyFieldName()
- Returns:
- Affinity key field name.
-
setAffinityKeyFieldName
public PlatformDotNetBinaryTypeConfiguration setAffinityKeyFieldName(String affinityKeyFieldName)
- Parameters:
affinityKeyFieldName- Affinity key field name.- Returns:
thisfor chaining.
-
isKeepDeserialized
@Deprecated @Nullable public @Nullable Boolean isKeepDeserialized()
Deprecated.UsegetKeepDeserialized()instead.Gets keep deserialized flag.- Returns:
- Flag indicates whether to cache deserialized value.
-
getKeepDeserialized
@Nullable public @Nullable Boolean getKeepDeserialized()
Gets keep deserialized flag. SeesetKeepDeserialized(Boolean)for more information.- Returns:
- Flag indicates whether to cache deserialized value.
-
setKeepDeserialized
public PlatformDotNetBinaryTypeConfiguration setKeepDeserialized(@Nullable @Nullable Boolean keepDeserialized)
Sets keep deserialized flag. When set tonulldefault value taken fromPlatformDotNetBinaryConfiguration.isDefaultKeepDeserialized()will be used.- Parameters:
keepDeserialized- Keep deserialized flag.- Returns:
thisfor chaining.
-
isEnum
public boolean isEnum()
Gets whether this is enum type.- Returns:
Trueif enum.
-
setEnum
public PlatformDotNetBinaryTypeConfiguration setEnum(boolean isEnum)
Sets whether this is enum type.- Parameters:
isEnum-Trueif enum.- Returns:
thisfor chaining.
-
-