Class AccStateObject<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.AccStateMemberSet<I,E,K,V>
org.aksw.jenax.graphql.sparql.v2.acc.state.api.impl.AccStateObject<I,E,K,V>
- Type Parameters:
I-E-K-V-
- All Implemented Interfaces:
AccState<I,,E> AccStateGon<I,,E, K, V> AccStateTypeProduceNode<I,,E, K, V> AccStateTypeProduceObject<I,E, K, V>
public class AccStateObject<I,E,K,V>
extends AccStateMemberSet<I,E,K,V>
implements AccStateTypeProduceObject<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
FieldsFields inherited from class org.aksw.jenax.graphql.sparql.v2.acc.state.api.AccStateMemberSet
currentFieldAcc, currentFieldIndex, edgeAccs, stateIdToIndexFields inherited from class org.aksw.jenax.graphql.sparql.v2.acc.state.api.AccStateBase
context, currentInput, currentSourceNode, hasBegun, oldSourceNode, parent, parentInput, skipOutput, stateId -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAccStateObject(Map<Object, Integer> fieldIdToIndex, AccStateTypeTransition<I, E, K, V>[] edgeAccs, boolean isArray) Should not be used directly; use a builder. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidstatic <I,E, K, V> AccStateObject<I, E, K, V> of(boolean isArray, Map<Object, Integer> stateIdToIndex, AccStateTypeTransition<I, E, K, V>[] edgeAccs) Create a new instance and set it as the parent on all the property accumulatorstoString()Methods inherited from class org.aksw.jenax.graphql.sparql.v2.acc.state.api.AccStateMemberSet
children, transitionActualMethods inherited from class org.aksw.jenax.graphql.sparql.v2.acc.state.api.AccStateBase
begin, 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
children, getParent, getRoot, setContext, setParent, transitionMethods inherited from interface org.aksw.jenax.graphql.sparql.v2.acc.state.api.AccStateTypeProduceObject
getGonType
-
Field Details
-
value
-
isArray
protected boolean isArray
-
-
Constructor Details
-
Method Details
-
of
public static <I,E, AccStateObject<I,K, V> E, ofK, V> (boolean isArray, Map<Object, Integer> stateIdToIndex, AccStateTypeTransition<I, E, K, V>[] edgeAccs) Create a new instance and set it as the parent on all the property accumulators -
beginActual
- Overrides:
beginActualin classAccStateBase<I,E, K, V> - Throws:
IOException
-
endActual
- Overrides:
endActualin classAccStateBase<I,E, K, V> - Throws:
IOException
-
toString
-