@PublicEvolving
	public QueryableStateStream<KEY, T> asQueryableState(
			String queryableStateName,
			ValueStateDescriptor<T> stateDescriptor) {

		transform("Queryable state: " + queryableStateName,
				getType(),
				new QueryableValueStateOperator<>(queryableStateName, stateDescriptor));

		stateDescriptor.initializeSerializerUnlessSet(getExecutionConfig());

		return new QueryableStateStream<>(
				queryableStateName,
				stateDescriptor,
				getKeyType().createSerializer(getExecutionConfig()));
	}
@ PublicEvolving public QueryableStateStream < KEY , T > asQueryableState ( String queryableStateName , ValueStateDescriptor < T > stateDescriptor ) { transform ( "Queryable state: " + queryableStateName , getType ( ) , new QueryableValueStateOperator < > ( queryableStateName , stateDescriptor ) ) ; stateDescriptor . initializeSerializerUnlessSet ( getExecutionConfig ( ) ) ; return new QueryableStateStream < > ( queryableStateName , stateDescriptor , getKeyType ( ) . createSerializer ( getExecutionConfig ( ) ) ) ; }
Publishes the keyed stream as a queryable ValueState instance.

@param queryableStateName Name under which to the publish the queryable state instance
@param stateDescriptor State descriptor to create state instance from
@return Queryable state instance