code: @PublicEvolving
  	@Deprecated
  	public <ACC> QueryableStateStream<KEY, ACC> asQueryableState(
  			String queryableStateName,
  			FoldingStateDescriptor<T, ACC> stateDescriptor) {
  
  		transform("Queryable state: " + queryableStateName,
  				getType(),
  				new QueryableAppendingStateOperator<>(queryableStateName, stateDescriptor));
  
  		stateDescriptor.initializeSerializerUnlessSet(getExecutionConfig());
  
  		return new QueryableStateStream<>(
  				queryableStateName,
  				stateDescriptor,
  				getKeyType().createSerializer(getExecutionConfig()));
  	}
docs: Publishes the keyed stream as a queryable FoldingState 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
  
  @deprecated will be removed in a future version