@@ -0,0 +1,1524 @@
+/* Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage org.camunda.bpm.engine.cassandra.provider;%0A%0Aimport com.datastax.driver.core.Session;%0A%0Apublic class VariableTypeHandler implements TypeHandler %7B%0A%0A  public final static String TYPE_NAME = %22variable%22;%0A%0A  public final static String CREATE_TYPE_STATEMENT = %22CREATE TYPE IF NOT EXISTS %22 + TYPE_NAME + %22 (%22%0A  + %22id_ text,%22%0A  + %22rev_ int,%22%0A  + %22type_ text,%22%0A  + %22name_ text,%22%0A  + %22execution_id_ text,%22%0A  + %22proc_inst_id_ text,%22%0A  + %22case_execution_id_ text,%22%0A  + %22case_inst_id_ text,%22%0A  + %22task_id_ text,%22%0A  + %22bytearray_id_ text,%22%0A  + %22double_ double,%22%0A  + %22long_ bigint,%22%0A  + %22text_ text,%22%0A  + %22text2_ text,%22%0A  + %22var_scope_ text,%22%0A  + %22sequence_counter_ int,%22%0A  + %22is_concurrent_local_ boolean%22%0A  + %22);%22;%0A%0A  public final static String DROP_TYPE_STATEMENT = %22DROP TYPE IF EXISTS %22 + TYPE_NAME + %22;%22;%0A%0A%0A  public void createType(Session s) %7B%0A    s.execute(CREATE_TYPE_STATEMENT);%0A  %7D%0A%0A  public void dropType(Session s) %7B%0A    s.execute(DROP_TYPE_STATEMENT);%0A  %7D%0A%0A%7D%0A

add variable type handler