The Slice-to-Freeze compiler,
slice2freezej, creates Java classes for Freeze maps. The compiler offers the following command-line options in addition to the standard options:
Generate a Freeze map class named
KEY as key and
VALUE as value. This option may be specified multiple times to generate several Freeze maps.
NAME may be a scoped Java name, such as
VALUE represent Slice types and therefore must use Slice syntax, such as
Ice::Identity. The type identified by
KEY must be a legal dictionary key type.
Add an index to the Freeze map named
MEMBER is specified, the map value type must be a structure or a class, and
MEMBER must be the name of a member of that type. If
MEMBER is not specified, the entire value is indexed. When the indexed member (or entire value) is a string, the index can be case-sensitive (default) or case-insensitive.
Generate an index class for a Freeze evictor.
CLASS is the name of the index class to be generated.
TYPE denotes the type of class to be indexed (objects of different classes are not included in this index).
MEMBER is the name of the data member in
TYPE to index. When
MEMBER has type
string, it is possible to specify whether the index is case-sensitive or not. The default is case-sensitive.
Define the global metadata directive
META. Using this option is equivalent to defining the global metadata
META in each named Slice file, as well as in any file included by a named Slice file.