Skip to content
This repository has been archived by the owner on Jul 17, 2019. It is now read-only.

Commit

Permalink
0.6 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Mar 19, 2017
1 parent 06d5e99 commit 399831f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions REQUIRE
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ DataFrames
NullableArrays 0.0.9
CategoricalArrays 0.0.5
WeakRefStrings 0.1.3
Compat 0.17
8 changes: 5 additions & 3 deletions src/DataStreams.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ export Data, DataFrame

module Data

abstract StreamType
using Compat

@compat abstract type StreamType end
immutable Field <: StreamType end
immutable Column <: StreamType end

Expand Down Expand Up @@ -80,7 +82,7 @@ end
transform(sch::Data.Schema, transforms::Dict{String,Function}) = transform(sch, Dict{Int,Function}(sch[x]=>f for (x,f) in transforms))

# Data.Source Interface
abstract Source
@compat abstract type Source end

# Required methods
function schema end
Expand Down Expand Up @@ -112,7 +114,7 @@ reference(x) = UInt8[]
#TODO: fallback for streamfrom for Nullables

# Data.Sink Interface
abstract Sink
@compat abstract type Sink end

# Required methods
# Sink(sch::Data.Schema, S, append, ref, args...; kwargs...)
Expand Down

0 comments on commit 399831f

Please sign in to comment.