org.objectweb.medor.query.api

Interface PropagatedField

All Superinterfaces:
Cloneable, Field, NullStatus, QueryTreeField
Known Subinterfaces:
PropagFromNestedField
Known Implementing Classes:
BasicPropagatedField, BasicPropagFromNestedField

public interface PropagatedField
extends QueryTreeField

A PropagatedField is a Field that takes its value from Fields of the children query trees (called previous fields).

Author:
Sebastien Chassande-Barrioz

Fields inherited from interface org.objectweb.medor.api.Field

PNAMENAME

Fields inherited from interface org.objectweb.medor.api.NullStatus

NONULLS, NULLABLE, NULLABLEUNKNOWN

Method Summary

int
getIndex()
The index of this Field in the array made of the concatenation of the tuples from the children QueryTrees.
Field[]
getOriginFields()
Field[]
getPreviousFields()
Field[]
getPreviousFields(String oldFieldName)
void
replacePreviousField(Field[] neo)
void
setIndex(int idx)

Methods inherited from interface org.objectweb.medor.api.Cloneable

clone

Methods inherited from interface org.objectweb.medor.api.Field

getName, getNullStatus, getType

Methods inherited from interface org.objectweb.medor.query.api.QueryTreeField

getQueryTree

Method Details

getIndex

public int getIndex()
The index of this Field in the array made of the concatenation of the tuples from the children QueryTrees. This information is used to pick the right value at evaluation time from this concatenated tuple to put it in the result Tuple.


getOriginFields

public Field[] getOriginFields()


getPreviousFields

public Field[] getPreviousFields()


getPreviousFields

public Field[] getPreviousFields(String oldFieldName)


replacePreviousField

public void replacePreviousField(Field[] neo)


setIndex

public void setIndex(int idx)