class Cu::Config

Defined in:

cu/config.cr:1
cu/config.cr:53

Constant Summary

FILENAME = ".clickhouse-table.toml"

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.load(path : String | Nil) : Config #

[View source]

Class Method Detail

def self.empty #

[View source]
def self.parse_file(path : String) #

[View source]

Instance Method Detail

def clickhouse_client #

[View source]
def clickhouse_client=(v : String) #

[View source]
def clickhouse_client=(v : Nil) #

[View source]
def clickhouse_client? #

[View source]
def client #

[View source]
def clue : String #

def clue=(v : String) : String #

def clue=(v : Nil) #

nil assignments are always ignored


def clue? : String | Nil #

def column #

[View source]
def column=(v : String) #

[View source]
def column=(v : Nil) #

[View source]
def column? #

[View source]
def db #

[View source]
def db=(v : String) #

[View source]
def db=(v : Nil) #

[View source]
def db? #

[View source]
def engine #

[View source]
def engine=(v : String) #

[View source]
def engine=(v : Nil) #

[View source]
def engine? #

[View source]
def force #

[View source]
def force=(v : Bool) #

[View source]
def force=(v : Nil) #

[View source]
def force? #

[View source]
def format #

[View source]
def format=(v : String) #

[View source]
def format=(v : Nil) #

[View source]
def format? #

[View source]
def host #

[View source]
def host=(v : String) #

[View source]
def host=(v : Nil) #

[View source]
def host? #

[View source]
def nop #

[View source]
def nop=(v : Bool) #

[View source]
def nop=(v : Nil) #

[View source]
def nop? #

[View source]
def path : String #

def path=(v : String) : String #

def path=(v : Nil) #

nil assignments are always ignored


def path? : String | Nil #

def program #

[View source]
def table #

[View source]
def table=(v : String) #

[View source]
def table=(v : Nil) #

[View source]
def table? #

[View source]
def to_s(io : IO) #
Description copied from class Reference

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>

[View source]
def verbose #

[View source]
def verbose=(v : Bool) #

[View source]
def verbose=(v : Nil) #

[View source]
def verbose? #

[View source]