This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {ChartData} from "chart.js"; | |
| import {getDateOfISOWeek, getDateStringOfISOWeek, getWeekNumber} from "../../../commons/src"; | |
| import {addMonths, addWeeks, differenceInCalendarMonths, differenceInCalendarWeeks, isPast, isFuture, addDays} from 'date-fns'; | |
| export interface IMonthlyChartData { | |
| Invoicer__c?: string; | |
| Reviewed_Agreed_Payment_Date__c?: string; | |
| Agreed_Payment_Date__c?: string; | |
| year?: number; | |
| month?: number; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class SimpleJoin(streamsConfiguration:Map[String,AnyRef]){ | |
| private val builder = new KStreamBuilder | |
| private val myStream = builder.stream[Integer,MyClass](Serdes.Integer(),myClassSerde, "mytopic") | |
| private val myTable: KTable[Integer, MyClass] = myStream.groupBy(new KeyValueMapper[Integer,MyClass,Integer] { | |
| override def apply(key : Integer, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| object SchemaFor extends LowPrioritySchemaFor{ | |
| implicit object ByteSchemaFor extends SchemaFor[Byte] { | |
| private val schema = SchemaBuilder.builder().intType() | |
| def apply(): org.apache.avro.Schema = schema | |
| } | |
| implicit object ShortSchemaFor extends SchemaFor[Short] { | |
| private val schema = SchemaBuilder.builder().intType() | |
| def apply(): org.apache.avro.Schema = schema |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class SkipSpaceClassesWithoutIdHibernateSpaceDataSource(@BeanProperty val sessionFactory:SessionFactory) extends SpaceDataSource { | |
| protected final val logger: Logger = LoggerFactory.getLogger(getClass) | |
| import scala.collection.JavaConverters._ | |
| lazy val managedEntries = sessionFactory.getAllClassMetadata.asScala.keySet | |
| lazy val initialLoadEntries = { |
NewerOlder