Skip to content

Commit

Permalink
Add tpch handles to serialization hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
martint committed Nov 28, 2012
1 parent e069c30 commit 43e992f
Show file tree
Hide file tree
Showing 15 changed files with 6 additions and 2 deletions.
@@ -1,5 +1,6 @@
package com.facebook.presto.metadata;

import com.facebook.presto.tpch.TpchColumnHandle;
import org.codehaus.jackson.annotate.JsonSubTypes;
import org.codehaus.jackson.annotate.JsonTypeInfo;

Expand All @@ -9,7 +10,8 @@
property = "columnHandleType")
@JsonSubTypes({
@JsonSubTypes.Type(value = NativeColumnHandle.class, name = "native"),
@JsonSubTypes.Type(value = ImportColumnHandle.class, name = "import")})
@JsonSubTypes.Type(value = ImportColumnHandle.class, name = "import"),
@JsonSubTypes.Type(value = TpchColumnHandle.class, name = "tpch")})
public interface ColumnHandle
{
DataSourceType getDataSourceType();
Expand Down
@@ -1,5 +1,6 @@
package com.facebook.presto.metadata;

import com.facebook.presto.tpch.TpchTableHandle;
import org.codehaus.jackson.annotate.JsonSubTypes;
import org.codehaus.jackson.annotate.JsonTypeInfo;

Expand All @@ -9,7 +10,8 @@
property = "type")
@JsonSubTypes({
@JsonSubTypes.Type(value = NativeTableHandle.class, name = "native"),
@JsonSubTypes.Type(value = ImportTableHandle.class, name = "import")})
@JsonSubTypes.Type(value = ImportTableHandle.class, name = "import"),
@JsonSubTypes.Type(value = TpchTableHandle.class, name = "tpch")})
public interface TableHandle
{
DataSourceType getDataSourceType();
Expand Down

0 comments on commit 43e992f

Please sign in to comment.