Class AccStateFragmentHead<I,E,K,V>
java.lang.Object
org.aksw.jenax.graphql.sparql.v2.acc.state.api.AccStateBase<I,E,K,V>
org.aksw.jenax.graphql.sparql.v2.acc.state.api.AccStateTypeProduceEntryBase<I,E,K,V>
org.aksw.jenax.graphql.sparql.v2.acc.state.api.impl.AccStateFragmentHead<I,E,K,V>
- Type Parameters:
I-E-K-V-
- All Implemented Interfaces:
AccState<I,,E> AccStateGon<I,,E, K, V> AccStateTypeProduceEntry<I,,E, K, V> AccStateTypeTransition<I,E, K, V>
AccState that creates a new object whether a new objectId is encountered.
[stateId, v0, ..., vN]
[ 1, objectId1 ]
[ 2, member1 ]
[ 3, member2 ]
[ 1, objectId2 ]
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccStateGon<I,E, K, V> protected ObjectShould not be used directly; use a builder.Fields inherited from class org.aksw.jenax.graphql.sparql.v2.acc.state.api.AccStateTypeProduceEntryBase
ancestorStateFields inherited from class org.aksw.jenax.graphql.sparql.v2.acc.state.api.AccStateBase
context, currentInput, currentSourceNode, hasBegun, oldSourceNode, parent, parentInput, skipOutput, stateId -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAccStateFragmentHead(Object matchStateId, AccStateGon<I, E, K, V> fragmentBody) -
Method Summary
Modifier and TypeMethodDescriptionchildren()Sub-accumulators must be enumerated in the correct order.voidThe GON type which this accumulator produces.static <I,E, K, V> AccStateFragmentHead<I, E, K, V> of(Object matchStateId, AccStateGon<I, E, K, V> fragmentBody) Create a new instance and set it as the parent on all the property accumulatorstoString()final AccStateGon<I,E, K, V> transitionActual(Object inputStateId, I input, E env) Methods inherited from class org.aksw.jenax.graphql.sparql.v2.acc.state.api.AccStateTypeProduceEntryBase
setAncestorStateMethods inherited from class org.aksw.jenax.graphql.sparql.v2.acc.state.api.AccStateBase
begin, beginActual, end, ensureBegun, getParent, getStateId, hasBegun, setContext, setContextOnChildren, setParent, transitionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aksw.jenax.graphql.sparql.v2.acc.state.api.AccState
begin, end, getStateId, hasBegunMethods inherited from interface org.aksw.jenax.graphql.sparql.v2.acc.state.api.AccStateGon
getParent, getRoot, setContext, setParent, transition
-
Field Details
-
matchStateId
Should not be used directly; use a builder. -
fragmentBody
-
-
Constructor Details
-
AccStateFragmentHead
-
-
Method Details
-
getGonType
Description copied from interface:AccStateGonThe GON type which this accumulator produces. -
getMatchStateId
-
of
public static <I,E, AccStateFragmentHead<I,K, V> E, ofK, V> (Object matchStateId, AccStateGon<I, E, K, V> fragmentBody) Create a new instance and set it as the parent on all the property accumulators -
transitionActual
public final AccStateGon<I,E, transitionActualK, V> (Object inputStateId, I input, E env) throws IOException - Specified by:
transitionActualin classAccStateBase<I,E, K, V> - Throws:
IOException
-
endActual
- Overrides:
endActualin classAccStateBase<I,E, K, V> - Throws:
IOException
-
toString
-
children
Description copied from interface:AccStateSub-accumulators must be enumerated in the correct order.
-