Package hydra.core
Class Projection
- java.lang.Object
-
- hydra.core.Projection
-
- All Implemented Interfaces:
java.io.Serializable
public class Projection extends java.lang.Object implements java.io.Serializable
A record elimination; a projection- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Name
field
The name of the projected fieldstatic Name
FIELD_NAME_FIELD
static Name
FIELD_NAME_TYPE_NAME
static Name
TYPE_NAME
Name
typeName
The name of the record type
-
Constructor Summary
Constructors Constructor Description Projection(Name typeName, Name field)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
Projection
withField(Name field)
Projection
withTypeName(Name typeName)
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_TYPE_NAME
public static final Name FIELD_NAME_TYPE_NAME
-
FIELD_NAME_FIELD
public static final Name FIELD_NAME_FIELD
-
typeName
public final Name typeName
The name of the record type
-
field
public final Name field
The name of the projected field
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
withTypeName
public Projection withTypeName(Name typeName)
-
withField
public Projection withField(Name field)
-
-