protected CfInfo getCfInfo ( String signature ) throws IOException { UDFContext context = UDFContext . getUDFContext ( ) ; Properties property = context . getUDFProperties ( AbstractCassandraStorage . class ) ; String prop = property . getProperty ( signature ) ; CfInfo cfInfo = new CfInfo ( ) ; cfInfo . cfDef = cfdefFromString ( prop . substring ( 2 ) ) ; cfInfo . compactCqlTable = prop . charAt ( 0 ) == ' ' ? true : false ; cfInfo . cql3Table = prop . charAt ( 1 ) == ' ' ? true : false ; return cfInfo ; }
get the columnfamily definition for the signature